Skip to content

Commit

Permalink
getparams Vector{Union{Float64,Int64}}
Browse files Browse the repository at this point in the history
  • Loading branch information
serenlee authored Dec 12, 2024
1 parent d795d24 commit 678d335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ function getparams(model::BUGSModel)
model.untransformed_param_length
end

param_vals = Vector{Float64}(undef, param_length)
param_vals = Vector{Union{Float64,Int64}}(undef, param_length)
pos = 1
for v in model.parameters
if !model.transformed
Expand Down

0 comments on commit 678d335

Please sign in to comment.