Skip to content

Commit d2e2a9b

Browse files
Update src/sample.jl
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent fc3dd21 commit d2e2a9b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/sample.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,9 @@ 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(
548+
"not enough initial parameters (expected $n, received $(length(x))"
549+
),
548550
)
549551
end
550552
end

0 commit comments

Comments
 (0)