Changeset 2386:81b47fc5c444 in lemon-0.x for lemon/bits/lp_id.h
- Timestamp:
- 03/02/07 19:04:28 (17 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3217
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/bits/lp_id.h
r2363 r2386 78 78 impl.index[xn] = impl.first_free; 79 79 impl.first_free = xn; 80 for(int i = fn + 1; i < (int)impl.cross.size(); ++i) {80 for(int i = fn + 1; i < int(impl.cross.size()); ++i) { 81 81 impl.cross[i - 1] = impl.cross[i]; 82 82 impl.index[impl.cross[i]]--; … … 90 90 void firstFloating(int& fn) const { 91 91 fn = impl.first_index; 92 if (fn == (int)impl.cross.size()) fn = -1;92 if (fn == int(impl.cross.size())) fn = -1; 93 93 } 94 94 95 95 void nextFloating(int& fn) const { 96 96 ++fn; 97 if (fn == (int)impl.cross.size()) fn = -1;97 if (fn == int(impl.cross.size())) fn = -1; 98 98 } 99 99
Note: See TracChangeset
for help on using the changeset viewer.