From 1ad387643b83019e0eeb5c4b8634a5a976c44932 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Petrovick=C3=BD?= Date: Thu, 2 May 2024 10:48:26 +0200 Subject: [PATCH] chore: improve score corruption error message --- .../micro/scoredirector/problems/AbstractProblem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ai/timefold/solver/benchmarks/micro/scoredirector/problems/AbstractProblem.java b/src/main/java/ai/timefold/solver/benchmarks/micro/scoredirector/problems/AbstractProblem.java index a006a6f3..9f299c55 100644 --- a/src/main/java/ai/timefold/solver/benchmarks/micro/scoredirector/problems/AbstractProblem.java +++ b/src/main/java/ai/timefold/solver/benchmarks/micro/scoredirector/problems/AbstractProblem.java @@ -108,7 +108,7 @@ public final void setupIteration() { var solverScope = new SolverScope(); solverScope.setScoreDirector(scoreDirector); solverScope.setWorkingRandom(new Random(0)); // Fully reproducible random selection. - phaseScope = new LocalSearchPhaseScope<>(solverScope); + phaseScope = new LocalSearchPhaseScope<>(solverScope, 0); moveSelector.solvingStarted(solverScope); moveSelector.phaseStarted(phaseScope); }