Closed burnpanck closed 6 years ago
Thanks! Looking into it.
can confirm that this happens with xtensor, too. investigating.
Hey, I've prepared a fix for this issue here https://github.com/QuantStack/xtensor/pull/1095
If all tests pass, we'll merge + make a release tonight! Thanks for finding this.
btw i hope it's okay that i reused your code in the test.
Sure
This is a continuation of the discussion in issue #389, but likely this is an independent problem. The following C++ code
with this python code
outputs
Examples 0, 3 and 5 are correct, the others incorrect. Particularly, only direct Nx1 views of
pytensor
fail, but not expressions involving them, nor larger views. The setup is xtensor 0.17.0 (0.17.1 or 2 or whatever the most current is failed compilation somewhere else deep inside our larger project), xtensor-python 0.20.0 and xsimd 6.1.4. If I recompile without-DXTENSOR_USE_XSIMD
, all examples return correct results.