Skip to content

Commit

Permalink
Requests from David
Browse files Browse the repository at this point in the history
  • Loading branch information
pkriens committed Mar 19, 2024
1 parent 04a9e93 commit 0056bf6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -268,11 +268,6 @@ private OutputStream output(String output) throws IOException {
error("Cannot create parent directory for %s", file);
return null;
}
if (!file.canWrite()) {
error("Cannot write %s", file);
return null;
}

return new FileOutputStream(file);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ String execute(ElectrodSolver electrodSolver, String elo, PardinusBounds bounds)
args.add(electrod.getAbsolutePath());
args.add("-t");
args.add(solverId);
args.add("-v");
if (ExtendedOptions.isDebug())
args.add("-v");

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

0 comments on commit 0056bf6

Please sign in to comment.