Skip to content

Use xt::allclose with complex float

Maik Nijhuis requested to merge use-allclose-with-complex-float into master

After merging https://github.com/xtensor-stack/xtl/pull/265, xt::allclose works with two XTensor objects containing complex floats.

We can therefore remove the workarounds of comparing xt::real() and xt::imag() separately.

Merge request reports