Skip to content

Commit

Permalink
Remove normalize from std call (#150)
Browse files Browse the repository at this point in the history
* Remove `normalize` from `std` call

* Pin Julia to 1.10
  • Loading branch information
rikhuijzer authored Nov 30, 2024
1 parent 7f2a849 commit d882088
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
fail-fast: false
matrix:
version:
- 1
- '1.10'
os:
- ubuntu-latest
- windows-latest
Expand Down
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 d882088

Please sign in to comment.