... | ... |
@@ -599,3 +599,3 @@ |
599 | 599 |
bool lowerBounded() const { |
600 |
return _lb != -INF && ! |
|
600 |
return _lb != -INF && !isNaN(_lb); |
|
601 | 601 |
} |
... | ... |
@@ -603,3 +603,3 @@ |
603 | 603 |
bool upperBounded() const { |
604 |
return _ub != INF && ! |
|
604 |
return _ub != INF && !isNaN(_ub); |
|
605 | 605 |
} |
... | ... |
@@ -1668,3 +1668,3 @@ |
1668 | 1668 |
LpBase::Constr tmp(c); |
1669 |
LEMON_ASSERT( |
|
1669 |
LEMON_ASSERT(isNaN(tmp.lowerBound()), "Wrong LP constraint"); |
|
1670 | 1670 |
tmp.lowerBound()=n; |
... | ... |
@@ -1680,3 +1680,3 @@ |
1680 | 1680 |
LpBase::Constr tmp(c); |
1681 |
LEMON_ASSERT( |
|
1681 |
LEMON_ASSERT(isNaN(tmp.upperBound()), "Wrong LP constraint"); |
|
1682 | 1682 |
tmp.upperBound()=n; |
... | ... |
@@ -1692,3 +1692,3 @@ |
1692 | 1692 |
LpBase::Constr tmp(c); |
1693 |
LEMON_ASSERT( |
|
1693 |
LEMON_ASSERT(isNaN(tmp.upperBound()), "Wrong LP constraint"); |
|
1694 | 1694 |
tmp.upperBound()=n; |
... | ... |
@@ -1704,3 +1704,3 @@ |
1704 | 1704 |
LpBase::Constr tmp(c); |
1705 |
LEMON_ASSERT( |
|
1705 |
LEMON_ASSERT(isNaN(tmp.lowerBound()), "Wrong LP constraint"); |
|
1706 | 1706 |
tmp.lowerBound()=n; |
0 comments (0 inline)