Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jnlt3 committed Dec 7, 2021
1 parent c559195 commit 09afc55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bm/bm_runner/time.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ impl TimeManager {
*prev_move = Some(current_move);

let move_change_depth = if move_changed {
self.same_move_depth.fetch_add(1, Ordering::SeqCst)
} else {
self.same_move_depth.store(0, Ordering::SeqCst);
0
} else {
self.same_move_depth.fetch_add(1, Ordering::SeqCst)
};

let eval_diff = (current_eval as f32 - last_eval as f32).abs() / 25.0;
Expand Down

0 comments on commit 09afc55

Please sign in to comment.