Skip to content

Commit

Permalink
fix #350
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan08 committed Jun 5, 2019
1 parent 2880b55 commit 4cbe9af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/ampl/src/system/ibex_AmplInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,8 @@ bool AmplInterface::readnl() {
add_ctr_eq((*(body_con[i])-lb));
}
} else {
add_ctr_eq((*(body_con[i])-Interval(lb,ub)));
add_ctr(ExprCtr(*(body_con[i])-ub, LEQ));
add_ctr(ExprCtr(*(body_con[i])-lb, GEQ));
}
break;
}
Expand Down

0 comments on commit 4cbe9af

Please sign in to comment.