Skip to content

AST-1473 Avoid xt::allclose() on empty xtensor

Maik Nijhuis requested to merge avoid-allclose-on-empty-xtensor into master

Since an empty XTensor has a null pointer, and xt::allclose uses that pointer internally, it triggers the undefined behavior sanitizer.

Merge request reports

Loading