Changeset 1275:16980bf77bd3 in lemon-0.x for src/work/athos
- Timestamp:
- 03/30/05 15:01:58 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1707
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/athos/lp/lp_base.h
r1273 r1275 299 299 ///\e 300 300 const Value &upperBound() const { return _ub; } 301 ///\e 302 bool lowerBounded() const { return std::isfinite(_lb); } 303 ///\e 304 bool upperBounded() const { return std::isfinite(_ub); } 301 305 }; 302 306 … … 485 489 void setRow(Row r, const Constr &c) { 486 490 setRow(r, 487 isnan(c.lowerBound())?-INF:c.lowerBound(),491 c.lowerBounded()?c.lowerBound():-INF, 488 492 c.expr(), 489 isnan(c.upperBound())?INF:c.upperBound());493 c.upperBounded()?c.upperBound():INF); 490 494 } 491 495
Note: See TracChangeset
for help on using the changeset viewer.