Changeset 932:2eebc8f7dca5 in lemon-1.2 for lemon
- Timestamp:
- 11/01/11 08:24:30 (13 years ago)
- Branch:
- default
- Children:
- 933:140facbd1d7c, 937:17e36e175725
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/lp_base.h
r584 r932 1605 1605 inline LpBase::Constr operator<=(const LpBase::Expr &e, 1606 1606 const LpBase::Expr &f) { 1607 return LpBase::Constr(0, f - e, LpBase:: INF);1607 return LpBase::Constr(0, f - e, LpBase::NaN); 1608 1608 } 1609 1609 … … 1623 1623 inline LpBase::Constr operator<=(const LpBase::Expr &e, 1624 1624 const LpBase::Value &f) { 1625 return LpBase::Constr( - LpBase::INF, e, f);1625 return LpBase::Constr(LpBase::NaN, e, f); 1626 1626 } 1627 1627 … … 1632 1632 inline LpBase::Constr operator>=(const LpBase::Expr &e, 1633 1633 const LpBase::Expr &f) { 1634 return LpBase::Constr(0, e - f, LpBase:: INF);1634 return LpBase::Constr(0, e - f, LpBase::NaN); 1635 1635 } 1636 1636 … … 1652 1652 inline LpBase::Constr operator>=(const LpBase::Expr &e, 1653 1653 const LpBase::Value &f) { 1654 return LpBase::Constr(f, e, LpBase:: INF);1654 return LpBase::Constr(f, e, LpBase::NaN); 1655 1655 } 1656 1656
Note: See TracChangeset
for help on using the changeset viewer.