Skip to content

Commit 3b36bfa

Browse files
committed
Modofied an error for testing NaN
1 parent 06c1f74 commit 3b36bfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/scalarstats.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ z2 = [8. 2. 3. 1.; 24. 10. -1. -1.; 20. 12. 1. -2.]
164164

165165
@test variation([1:5;]) 0.527046276694730
166166
@test variation(skipmissing([missing; 1:5; missing])) 0.527046276694730
167-
@test isnan(variation(a))
167+
@test isnan(variation(1))
168168
@test variation(1; corrected = false) == 0
169169

170170
@test @inferred(sem([1:5;])) 0.707106781186548

0 commit comments

Comments
 (0)