Skip to content

Commit

Permalink
optim: fix bug with unconstrained problems
Browse files Browse the repository at this point in the history
  • Loading branch information
Gilles Chabert committed Sep 5, 2019
1 parent 3aa739d commit 283365f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/optim/main/ibexopt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ int main(int argc, char** argv) {
bool inHC4=true;


if (!sys->f_ctrs.inhc4revise().implemented()) {
if (sys->nb_ctr>0 && !sys->f_ctrs.inhc4revise().implemented()) {
inHC4=false;
}

Expand Down

0 comments on commit 283365f

Please sign in to comment.