Clean up debug code in transition_system

This commit is contained in:
Matthw Honnibal 2020-07-01 01:03:20 +02:00
parent a1b6add4c8
commit 0d6edf5397

View File

@ -87,9 +87,9 @@ cdef class TransitionSystem:
if is_valid[i] and costs[i] <= 0:
action = self.c[i]
history.append(i)
s0 = state.S(0)
b0 = state.B(0)
if _debug:
s0 = state.S(0)
b0 = state.B(0)
example = _debug
debug_log.append(" ".join((
self.get_class_name(i),