We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f403082 commit c47fd08Copy full SHA for c47fd08
source/mir/ndslice/algorithm.d
@@ -2159,7 +2159,7 @@ template eachLower(alias fun)
2159
2160
static if ((Inputs.length > 1) && (isIntegral!(Inputs[$ - 1])))
2161
{
2162
- sizediff_t k = inputs[$ - 1];
+ immutable(sizediff_t) k = inputs[$ - 1];
2163
alias Slices = Inputs[0..($ - 1)];
2164
alias slices = inputs[0..($ - 1)];
2165
}
@@ -2623,7 +2623,7 @@ template eachUpper(alias fun)
2623
2624
2625
2626
2627
2628
2629
0 commit comments