loopy
loopy copied to clipboard
Better argument type checking
In no-numpy mode, the way one finds out that one can't pass a numpy array is by a failing .offset
attribute access. We should (at least optionally) check argument types.
cc @mtcam
The error message for anyone else who may stumble upon this:
AttributeError: 'numpy.ndarray' object has no attribute 'offset'