Skip to content

Commit

Permalink
Remove normalize from std call
Browse files Browse the repository at this point in the history
  • Loading branch information
rikhuijzer committed Nov 30, 2024
1 parent 7f2a849 commit 0f6ae1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "TuringGLM"
uuid = "0004c1f4-53c5-4d43-a221-a1dac6cf6b74"
authors = ["Jose Storopoli <[email protected]>", "Rik Huijzer <[email protected]>", "contributors"]
version = "2.12.0"
version = "2.12.1"

[deps]
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
Expand Down
2 changes: 1 addition & 1 deletion src/turing_model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ function _model(μ_X, σ_X, prior, intercept_ranef, idx, ::Type{Bernoulli})
μ_X=μ_X,
σ_X=σ_X,
prior=prior,
std_y=std(y; normalize=true),
std_y=std(y),
)
α ~ prior.intercept
β ~ filldist(prior.predictors, predictors)
Expand Down

0 comments on commit 0f6ae1e

Please sign in to comment.