Fix invariant in _states_diff_to_actions

This commit is contained in:
Daniël de Kok 2023-02-01 15:05:17 +01:00
parent ea885f2133
commit 1be2bf6a33

View File

@ -795,8 +795,7 @@ def _states_diff_to_actions(
c_state_before = before_state.c
c_state_after = after_state.c
assert equal(c_state_after.history.begin(),
c_state_after.history.begin() + c_state_before.history.size(),
assert equal(c_state_before.history.begin(), c_state_before.history.begin(),
c_state_after.history.begin())
actions = []