Skip to content

Commit

Permalink
fix(dsolvers/nra_solver.cpp): print out multiple soln when non-defaul…
Browse files Browse the repository at this point in the history
…t value is set for the option
  • Loading branch information
soonhokong committed Apr 21, 2015
1 parent 345c9ce commit 0f5a9ce
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/dsolvers/nra_solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,11 @@ box icp_loop(box b, contractor const & ctc, SMTConfig & config) {
<< "]" << endl;
}
} else {
cerr << "Find " << ++config.nra_found_soln << "-th solution:" << endl;
cerr << b << endl;
config.nra_found_soln++;
if (config.nra_multiple_soln > 1) {
cerr << "Find " << config.nra_found_soln << "-th solution:" << endl;
cerr << b << endl;
}
solns.push_back(b);
if (config.nra_found_soln >= config.nra_multiple_soln) {
break;
Expand Down

0 comments on commit 0f5a9ce

Please sign in to comment.