Changeset 58:a27ab230a178 in glemon-0.x
- Timestamp:
- 08/08/05 00:14:59 (19 years ago)
- Branch:
- gui
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk/gui@2124
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
mapstorage.cc
r53 r58 75 75 { 76 76 NodeIt j(graph); 77 double min=(*nodemap_storage[name])[j]; 77 double min; 78 if(j!=INVALID) 79 { 80 min=(*nodemap_storage[name])[j]; 81 } 82 else 83 { 84 min=0; 85 } 78 86 for (; j!=INVALID; ++j) 79 87 { … … 89 97 { 90 98 EdgeIt j(graph); 91 double min=(*edgemap_storage[name])[j]; 99 double min; 100 if(j!=INVALID) 101 { 102 min=(*edgemap_storage[name])[j]; 103 } 104 else 105 { 106 min=0; 107 } 92 108 for (EdgeIt j(graph); j!=INVALID; ++j) 93 109 {
Note: See TracChangeset
for help on using the changeset viewer.