Mdarray’s test function test_ops contains the lines
a = expr::fill(1) - a;
a = &b - a;
The variables a and b are of typeDTensor<i32, 2>.
I noticed that changing the second line to
does not compile while
a = b.clone() - expr::fill(1);
does (but consumes the lhs operand).
I wonder if this is this due to design, limitation, or perhaps simply omission?