Fix assertion in default get oracle sequence usage (#6738)

Remove assertion for default debug value in 
`get_oracle_sequence_from_state`.
This commit is contained in:
Adriane Boyd 2021-01-16 16:07:39 +01:00 committed by GitHub
parent f0c696b4aa
commit 43a752a2a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -812,7 +812,6 @@ cdef class ArcEager(TransitionSystem):
raise ValueError("Could not find gold transition - see logs above.")
def get_oracle_sequence_from_state(self, StateClass state, ArcEagerGold gold, _debug=None):
assert _debug is not None
cdef int i
cdef Pool mem = Pool()
# n_moves should not be zero at this point, but make sure to avoid zero-length mem alloc