fjarri/reikna

`Type.with_dtype()` handles change of strides incorrectly

fjarri opened this issue · 0 comments

Type.with_dtype() replaces the dtype without modifying strides, so if itemsize changes, the resulting strides are incorrect. It is used in transformations.cast(), but somehow the tests for it pass... Need to investigate.

Reported in #57