mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-11-04 09:57:26 +03:00 
			
		
		
		
	Fix to_array compile error
This commit is contained in:
		
							parent
							
								
									c0799430a7
								
							
						
					
					
						commit
						658536b5ce
					
				| 
						 | 
					@ -499,7 +499,7 @@ cdef class Doc:
 | 
				
			||||||
        """
 | 
					        """
 | 
				
			||||||
        cdef int i, j
 | 
					        cdef int i, j
 | 
				
			||||||
        cdef attr_id_t feature
 | 
					        cdef attr_id_t feature
 | 
				
			||||||
        cdef np.ndarray[attr_t, ndim=1] attr_ids, output_1D
 | 
					        cdef np.ndarray[attr_t, ndim=1] attr_ids
 | 
				
			||||||
        cdef np.ndarray[attr_t, ndim=2] output
 | 
					        cdef np.ndarray[attr_t, ndim=2] output
 | 
				
			||||||
        # Handle scalar/list inputs of strings/ints for py_attr_ids
 | 
					        # Handle scalar/list inputs of strings/ints for py_attr_ids
 | 
				
			||||||
        if not hasattr(py_attr_ids, '__iter__'):
 | 
					        if not hasattr(py_attr_ids, '__iter__'):
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user