Commits

Anonymous committed 3223e77

Fix an initialisation bug.

Comments (0)

Files changed (1)

black-hole-solitaire/c-solver/black_hole_solver.c

         ret->states_in_solution = NULL;
         ret->iterations_num = 0;
         ret->num_states_in_collection = 0;
+        ret->max_iters_limit = -1;
 
         bh_solve_hash_init(&(ret->positions));