Skip to content

Commit

Permalink
Fixed unbounded, -v at electrod
Browse files Browse the repository at this point in the history
  • Loading branch information
pkriens committed Mar 18, 2024
1 parent eac29a2 commit 04a9e93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ public final class A4Solution {
this.maxtrace = maxtrace;
this.mintrace = mintrace;
// [electrum] test whether unbounded solver
if (maxtrace == Integer.MAX_VALUE && !(!opt.solver.unbounded()))
if (maxtrace == Integer.MAX_VALUE && !opt.solver.unbounded())
throw new ErrorAPI("Bounded engines do not support open bounds on steps.");
if (bitwidth < 0)
throw new ErrorSyntax("Cannot specify a bitwidth less than 0.");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ String execute(ElectrodSolver electrodSolver, String elo, PardinusBounds bounds)
args.add(electrod.getAbsolutePath());
args.add("-t");
args.add(solverId);
args.add("-v");

ExtendedOptions options = electrodSolver.options();
if (!options.unbounded()) {
Expand Down

0 comments on commit 04a9e93

Please sign in to comment.