Skip to content

Commit 9ef4330

Browse files
committed
central_moment: changed mean to moment in the error messages
1 parent 465a85d commit 9ef4330

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/stdlib_experimental_stats_moment.fypp

+4-4
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ contains
9494
end do
9595
#:endfor
9696
case default
97-
call error_stop("ERROR (mean): wrong dimension")
97+
call error_stop("ERROR (moment): wrong dimension")
9898
end select
9999
res = res / n
100100

@@ -134,7 +134,7 @@ contains
134134
end do
135135
#:endfor
136136
case default
137-
call error_stop("ERROR (mean): wrong dimension")
137+
call error_stop("ERROR (moment): wrong dimension")
138138
end select
139139
res = res / n
140140

@@ -218,7 +218,7 @@ contains
218218
end do
219219
#:endfor
220220
case default
221-
call error_stop("ERROR (mean): wrong dimension")
221+
call error_stop("ERROR (moment): wrong dimension")
222222
end select
223223
res = res / n
224224

@@ -254,7 +254,7 @@ contains
254254
end do
255255
#:endfor
256256
case default
257-
call error_stop("ERROR (mean): wrong dimension")
257+
call error_stop("ERROR (moment): wrong dimension")
258258
end select
259259
res = res / n
260260

0 commit comments

Comments
 (0)