fix local eval

This commit is contained in:
hagi 2022-12-30 14:11:17 +01:00
parent a81408ae01
commit 5047c13452

View file

@ -58,7 +58,7 @@ class BlunderEvaluator:
""" """
if self.engine.is_move_correct(move): if self.engine.is_move_correct(move):
self.engine.make_moves_from_current_position([move]) self.engine.make_moves_from_current_position([move])
self.current_evaluation = self.engine.get_evaluation() self.current_evaluation = self.api_evaluation()
self.evaluations.append(self.current_evaluation) self.evaluations.append(self.current_evaluation)
self.current_wdl = self.api_wdl() self.current_wdl = self.api_wdl()
self.wdls.append(self.current_wdl) self.wdls.append(self.current_wdl)