From 4991e63c4a9558a3ae5fb754357d578f6cfbfdaa Mon Sep 17 00:00:00 2001 From: Seren Lee Date: Thu, 19 Dec 2024 11:36:46 -0800 Subject: [PATCH] Fix Float64 -> Real --- examples/JuliaBUGS.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/JuliaBUGS.jl b/examples/JuliaBUGS.jl index 20520c95a..760277d05 100644 --- a/examples/JuliaBUGS.jl +++ b/examples/JuliaBUGS.jl @@ -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]) @@ -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)) \ No newline at end of file +incomplete_count_data(tau::Float64) = JuliaBUGSPath(incomplete_count_data_model(tau))