Skip to content

Commit

Permalink
Update src/sample.jl
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
torfjelde and github-actions[bot] authored Sep 14, 2023
1 parent fc3dd21 commit d2e2a9b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/sample.jl
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,9 @@ check_initial_params(x::Nothing, n::Int) = nothing
function check_initial_params(x, n::Int)
if length(x) != n
throw(
ArgumentError("not enough initial parameters (expected $n, received $(length(x))"),
ArgumentError(
"not enough initial parameters (expected $n, received $(length(x))"
),
)
end
end

0 comments on commit d2e2a9b

Please sign in to comment.