Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ot/lp/network_simplex_simple.h
Original file line number Diff line number Diff line change
Expand Up @@ -1507,7 +1507,7 @@ namespace lemon {
if( retVal == OPTIMAL){
for (int e = _search_arc_num; e != _all_arc_num; ++e) {
if (_flow[e] != 0){
if (abs(_flow[e]) > EPSILON)
if (fabs(_flow[e]) > _EPSILON) // change of the original code following issue #126
return INFEASIBLE;
else
_flow[e]=0;
Expand Down