Skip to content

Commit ad324a2

Browse files
committed
fiix docs
1 parent 094ff35 commit ad324a2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

source/mir/algorithm/iteration.d

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1787,8 +1787,7 @@ Optimization:
17871787
use the last dimension (row index).
17881788
This will slightly optimize the code.
17891789
--------
1790-
// $-1 instead of 0
1791-
if (backwardIndex[$-1])
1790+
if (backwardIndex)
17921791
{
17931792
auto elem1 = slice1.backward(backwardIndex);
17941793
//...

0 commit comments

Comments
 (0)