The error message of _check_array_labeled could be improved to indicate the missing property (being of intc type, or having the carray flag), as it is a bit cryptic right now. In fact, all functions in labeled could perhaps just use np.require instead of requiring the carray flag?
The error message of
_check_array_labeled
could be improved to indicate the missing property (being of intc type, or having thecarray
flag), as it is a bit cryptic right now. In fact, all functions in labeled could perhaps just usenp.require
instead of requiring thecarray
flag?