diff options
-rw-r--r-- | dbox.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -857,7 +857,7 @@ static void SubSolve(const level_t *p_level, state_t *p_state, int p_depth, if (p_depth >= p_max_depth) { - fprintf(stderr, "%s: blown maximum solution depeth of %d\n", + fprintf(stderr, "%s: blown maximum solution depth of %d\n", g_name, p_max_depth); return; } @@ -990,10 +990,10 @@ static void SubSolve(const level_t *p_level, state_t *p_state, int p_depth, cache_size = g_cached_states; } - if (!warned && g_cached_states > max_cache) + if (p_depth > 1 && !warned && g_cached_states > max_cache) { printf("WARNING: got over four times the number of " - "cached states at one depeth...\n"); + "cached states at one depth...\n"); warned = TRUE; } } |