mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-30 01:50:03 +03:00
Fix invariant in _states_diff_to_actions
This commit is contained in:
parent
ea885f2133
commit
1be2bf6a33
|
@ -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 = []
|
||||
|
|
Loading…
Reference in New Issue
Block a user