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 59558be commit 3e5751fCopy full SHA for 3e5751f
source/mir/math/stat.d
@@ -70,6 +70,7 @@ template mean(string summation)
70
version(mir_test) @safe pure nothrow unittest
71
{
72
assert(mean([1.0, 2, 3]) == 2);
73
+ assert(mean([1.0 + 3i, 2, 3]) == 2 + 1i);
74
}
75
76
/++
0 commit comments