Skip to content

Commit 93a4f1b

Browse files
committed
fuxed error message
1 parent fc3dd21 commit 93a4f1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sample.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ check_initial_params(x::Nothing, n::Int) = nothing
544544
function check_initial_params(x, n::Int)
545545
if length(x) != n
546546
throw(
547-
ArgumentError("not enough initial parameters (expected $n, received $(length(x))"),
547+
ArgumentError("incorrect number of initial parameters (expected $n, received $(length(x))"),
548548
)
549549
end
550550
end

0 commit comments

Comments
 (0)