Skip to content

Commit af5c5f0

Browse files
committed
fixup
1 parent b609554 commit af5c5f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/mir/math/stat.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ template simpleLinearRegression(Summation summation = Summation.kbn)
142142

143143
/// ditto
144144
@optmath
145-
typeof(X.init * Y.init)[2]
145+
sumType!(Y[])[2]
146146
simpleLinearRegression(X, Y)(scope const X[] x, scope const Y[] y) @safe
147147
{
148148
return .simpleLinearRegression!summation(x.sliced, y.sliced);

0 commit comments

Comments
 (0)