Skip to content

Commit

Permalink
Update burgers.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
YichengDWu authored Oct 21, 2022
1 parent 56e5346 commit 0c11473
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/src/tutorials/burgers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ end

function Sophon.sample(sampler::MyFuncSampler)
(; n, grf, pts) = sampler
xs =
ys = [cubic_spline_interpolation(pts, pts .* (1 .- pts) .* sample(grf) .+ 0.1*randn())]
for _ in 1:n-1
y = cubic_spline_interpolation(pts, pts .* (1 .- pts) .* sample(grf) .+ 0.1*randn())
Expand Down

0 comments on commit 0c11473

Please sign in to comment.