loopy icon indicating copy to clipboard operation
loopy copied to clipboard

Better argument type checking

Open inducer opened this issue 4 years ago • 1 comments

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

inducer avatar Aug 13 '20 16:08 inducer

The error message for anyone else who may stumble upon this: AttributeError: 'numpy.ndarray' object has no attribute 'offset'

nchristensen avatar Mar 14 '21 06:03 nchristensen