Skip to content

Commit 9a22141

Browse files
authored
Fix hmeanType error message (#300)
1 parent 175f14c commit 9a22141

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
@@ -571,7 +571,7 @@ template hmeanType(T)
571571
alias V = typeof(cast(U) 1 / ((cast(U) 1 / U.init + cast(U) 1 / U.init) / cast(U) 2));
572572
alias hmeanType = statType!V;
573573
} else {
574-
static assert(0, "meanType: Can't calculate hmean of elements of type " ~ U.stringof);
574+
static assert(0, "hmeanType: Can't calculate hmean of elements of type " ~ U.stringof);
575575
}
576576
}
577577

0 commit comments

Comments
 (0)