Skip to content

Commit

Permalink
Fix #3
Browse files Browse the repository at this point in the history
  • Loading branch information
jvaverka committed Apr 25, 2022
1 parent 1d0ed0f commit 9a11a34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _weave/lecture05/parallelism_overview.jmd
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ const _u_cache_threads = [Vector{typeof(@SVector([1.0,0.0,0.0]))}(undef,1000) fo
function compute_trajectory_mean5(u0,p)
# u is automatically captured
solve_system_save!(_u_cache_threads[Threads.threadid()],lorenz,u0,p,1000);
mean(_u_cache)
mean(_u_cache_threads[Threads.threadid()])
end
@btime compute_trajectory_mean5(@SVector([1.0,0.0,0.0]),p)
```
Expand Down

0 comments on commit 9a11a34

Please sign in to comment.