Commit 564208ab authored by Daniel Le Berre's avatar Daniel Le Berre
Browse files

Fix for createSolverByName() in core too.

parent 881509a8
Pipeline #20148 passed with stages
in 43 minutes and 47 seconds
......@@ -63,9 +63,11 @@ public class BugSAT34 {
Collection<Object[]> solvers = new ArrayList<Object[]>();
for (String name : SolverFactory.instance().solverNames()) {
if (!"DimacsOutput".equals(name) && !"Statistics".equals(name)) {
solvers.add(new Object[] {
SolverFactory.instance().createSolverByName(name),
name });
solvers.add(
new Object[] {
SolverFactory.instance()
.createSolverByName(name).orElseThrow(),
name });
}
}
return solvers;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment