Skip to content

Commit d882088

Browse files
authored
Remove normalize from std call (#150)
* Remove `normalize` from `std` call * Pin Julia to 1.10
1 parent 7f2a849 commit d882088

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
fail-fast: false
2222
matrix:
2323
version:
24-
- 1
24+
- '1.10'
2525
os:
2626
- ubuntu-latest
2727
- windows-latest

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "TuringGLM"
22
uuid = "0004c1f4-53c5-4d43-a221-a1dac6cf6b74"
33
authors = ["Jose Storopoli <[email protected]>", "Rik Huijzer <[email protected]>", "contributors"]
4-
version = "2.12.0"
4+
version = "2.12.1"
55

66
[deps]
77
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"

src/turing_model.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ function _model(μ_X, σ_X, prior, intercept_ranef, idx, ::Type{Bernoulli})
263263
μ_X=μ_X,
264264
σ_X=σ_X,
265265
prior=prior,
266-
std_y=std(y; normalize=true),
266+
std_y=std(y),
267267
)
268268
α ~ prior.intercept
269269
β ~ filldist(prior.predictors, predictors)

0 commit comments

Comments
 (0)