aboutsummaryrefslogtreecommitdiff
path: root/src/grossmeister
diff options
context:
space:
mode:
Diffstat (limited to 'src/grossmeister')
-rw-r--r--src/grossmeister/search.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/grossmeister/search.rs b/src/grossmeister/search.rs
index 2491d1f..1e7cf5f 100644
--- a/src/grossmeister/search.rs
+++ b/src/grossmeister/search.rs
@@ -146,7 +146,7 @@ impl Grossmeister {
// Could not finish in time, return what we have so far
if root_distance > 0 && self.should_halt.load(std::sync::atomic::Ordering::SeqCst) {
- break;
+ return alpha;
}
}