Skip to content

Don't crash on empty tensor contraction.

Since 9b48d102 we return nullptr for size 0 allocations. This tripped an assert in TensorContraction.h. Omitting the assert and returning nullptr suffices.

Merge request reports

Loading