Skip to content

Commit 998e941

Browse files
committed
fix bug with map
1 parent 68040ea commit 998e941

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/mir/ndslice/topology.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2126,7 +2126,7 @@ template map(fun...)
21262126
sl._strides[0 .. packs[0]],
21272127
It(
21282128
sl._lengths[packs[0] .. packs[0] + It._lengths.length],
2129-
sl._strides[packs[0] .. packs[0] + It._strides.length],
2129+
cast(ptrdiff_t[It._strides.length]) sl._strides[packs[0] .. packs[0] + It._strides.length],
21302130
sl._iterator,
21312131
));
21322132
}

0 commit comments

Comments
 (0)