diff options
Diffstat (limited to 'src/nissy.c')
| -rw-r--r-- | src/nissy.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nissy.c b/src/nissy.c index 6bc4aea..5eeb457 100644 --- a/src/nissy.c +++ b/src/nissy.c | |||
| @@ -332,8 +332,9 @@ nissy_solve( | |||
| 332 | LOG("gendata: could not parse options\n"); | 332 | LOG("gendata: could not parse options\n"); |
| 333 | ret = -1; | 333 | ret = -1; |
| 334 | } else { | 334 | } else { |
| 335 | ret = solve_h48(c, minmoves, maxmoves, maxsolutions, | 335 | ret = THREADS > 1 ? |
| 336 | data, solutions); | 336 | solve_h48_parent(c, minmoves, maxmoves, maxsolutions, data, solutions) : |
| 337 | solve_h48(c, minmoves, maxmoves, maxsolutions, data, solutions); | ||
| 337 | } | 338 | } |
| 338 | } else if (!strcmp(solver, "h48stats")) { | 339 | } else if (!strcmp(solver, "h48stats")) { |
| 339 | ret = solve_h48stats(c, maxmoves, data, solutions); | 340 | ret = solve_h48stats(c, maxmoves, data, solutions); |
