Skip to content

Commit 57c64cb

Browse files
committed
fix prod unittest
1 parent 2b7970a commit 57c64cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/mir/math/numeric.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ unittest
106106
long e;
107107
assert(r.prod(e) == reduce!"a * b"(1.0, [c, c, c]));
108108
assert(e == 30);
109-
assert(r.prod == u * u * u);
109+
assert(r.prod == reduce!"a * b"(1.0, [u, u, u])););
110110
}
111111

112112
/++

0 commit comments

Comments
 (0)