Skip to content
Snippets Groups Projects
Commit f2943cb1 authored by Etienne Kneuss's avatar Etienne Kneuss
Browse files

Fix "minor" bug causing solvers to become autistic after the first search is over.

parent 5945b726
No related branches found
No related tags found
No related merge requests found
......@@ -71,6 +71,8 @@ class SimpleSearch(synth: Synthesizer,
var shouldStop = false
def search(): Option[Solution] = {
sctx.solver.init()
shouldStop = false
while (!g.tree.isSolved && !shouldStop) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment