Skip to content

Commit

Permalink
Fix Float64 -> Real
Browse files Browse the repository at this point in the history
  • Loading branch information
serenlee authored Dec 19, 2024
1 parent 6e0c0cb commit 4991e63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/JuliaBUGS.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function incomplete_count_data_model(tau::Float64)
function incomplete_count_data_model(tau::Real)
model_def = @bugs("model{
for (i in 1:n) {
r[i] ~ dbern(pr[i])
Expand All @@ -21,4 +21,4 @@ function incomplete_count_data_model(tau::Float64)
)
return compile(model_def, data)
end
incomplete_count_data(tau::Float64) = JuliaBUGSPath(incomplete_count_data_model(tau))
incomplete_count_data(tau::Float64) = JuliaBUGSPath(incomplete_count_data_model(tau))

0 comments on commit 4991e63

Please sign in to comment.