diff options
-rw-r--r-- | ot/lp/network_simplex_simple.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ot/lp/network_simplex_simple.h b/ot/lp/network_simplex_simple.h index 5d93040..630b595 100644 --- a/ot/lp/network_simplex_simple.h +++ b/ot/lp/network_simplex_simple.h @@ -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; |