Skip to content

Commit b1f4c7e

Browse files
authored
corrected error message in corrspearman (#682)
1 parent 9865dc0 commit b1f4c7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rankcorr.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ end
9191

9292
function corspearman(X::RealMatrix, Y::RealMatrix)
9393
size(X, 1) == size(Y, 1) ||
94-
throw(ArgumentError("number of columns in each array must match"))
94+
throw(ArgumentError("number of rows in each array must match"))
9595
nr = size(X, 2)
9696
nc = size(Y, 2)
9797
C = Matrix{Float64}(undef, nr, nc)

0 commit comments

Comments
 (0)