Closed 9il closed 5 years ago
/// error
assert(iota(1, 3, 2).maybeExpand!0(2) == iota(3, 2).repeat(2));
/// ok
assert(iota(1, 3, 2).maybeExpand!0(2) == [[[0, 1], [2, 3], [4,5]], [[0, 1], [2, 3], [4,5]]]);
opEquals was disabled for ndslices of different dimension count. Does unpack help here?
Yes! thank you.
@9il Everything works well with mir-algorithm v2.0.1 except for grain.functions.common.maybeExpand unittest (but integrated tests in the other functions are working)
https://github.com/ShigekiKarita/grain/blob/361fc642f281d88e1dbf5be83d8fc5fe0bf05225/source/grain/functions/common.d#L223-L262
compilation error
do you have any idea?