mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-10-31 07:57:35 +03:00 
			
		
		
		
	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:
		
							parent
							
								
									f0c696b4aa
								
							
						
					
					
						commit
						43a752a2a0
					
				|  | @ -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 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user