Skip to content

Commit 504f627

Browse files
Merge branch 'new-landing-page' of https://github.com/TuringLang/turinglang.github.io into new-landing-page
2 parents 83cd02d + a2a3baa commit 504f627

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

_quarto.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ format:
104104
105105
</div>
106106
<div class="footer-bottom">
107-
<p>Turing is created by <a href="https://mlg.eng.cam.ac.uk/hong/" target="_blank" rel="noopener">Hong Ge</a>, and maintained by the core <a href="/team" target="_blank" rel="noopener">team</a> of developers and <a href="https://github.com/TuringLang/Turing.jl/graphs/contributors" target="_blank" rel="noopener">contributors</a>!<br>© 2025 The Turing Project Contributors. <a href="https://github.com/TuringLang/Turing.jl/blob/master/LICENCE" target="_blank" rel="noopener">MIT License</a>.</p>
107+
<p>Turing is created by <a href="https://mlg.eng.cam.ac.uk/hong/" target="_blank" rel="noopener">Hong Ge</a>, and maintained by the core <a href="/team" target="_blank" rel="noopener">team</a> of developers and <a href="https://github.com/TuringLang/Turing.jl/graphs/contributors" target="_blank" rel="noopener">contributors</a>.<br>© 2025 The Turing Project Contributors. <a href="https://github.com/TuringLang/Turing.jl/blob/master/LICENCE" target="_blank" rel="noopener">MIT License</a>.</p>
108108
<a href="https://github.com/TuringLang/turinglang.github.io/" target="_blank" rel="noopener" class="footer-source-link"><i class="bi bi-github"></i> Website Source</a>
109109
</div>
110110
</div>

index.qmd

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Turing is written entirely in Julia, and is interoperable with its powerful ecos
104104

105105
::: {.code-window-title}
106106
```{=html}
107-
<span>~/linear_regression.jl</span>
107+
<span>linear_regression.jl</span>
108108
```
109109
:::
110110

@@ -124,12 +124,11 @@ using Turing
124124
μ = α .+ β .* x
125125
y ~ MvNormal(μ, σ² * I)
126126
127-
return (; y, α, β, σ², μ)
128127
end
129128
130129
x, y = rand(10), rand(10)
131-
posterior = linear_regression(x) | (;y = y)
132-
chains = sample(posterior, NUTS(), 1000, progress=false)
130+
posterior = linear_regression(x) | (; y = y)
131+
chain = sample(posterior, NUTS(), 1000)
133132
```
134133

135134
:::

0 commit comments

Comments
 (0)