Mercurial > repos > public > sbplib_julia
changeset 1634:29c7a787e67d
Fix bug in benchmarks.jl
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Tue, 25 Jun 2024 15:31:29 +0200 |
parents | 857dab1a3116 |
children | b62770cec7d0 14eb0ce96147 |
files | benchmark/benchmarks.jl |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/benchmark/benchmarks.jl Mon Jun 24 13:54:33 2024 +0200 +++ b/benchmark/benchmarks.jl Tue Jun 25 15:31:29 2024 +0200 @@ -15,9 +15,9 @@ ll(d) = ntuple(i->0., d) lu(d) = ntuple(i->1., d) -g1 = equidistant_grid(ll(1)[1], lu(1)[1], sz(1)[1]) -g2 = equidistant_grid(ll(2), lu(2), sz(2)) -g3 = equidistant_grid(ll(3), lu(3), sz(3)) +g1 = equidistant_grid(ll(1)[1], lu(1)[1], sz(1)...) +g2 = equidistant_grid(ll(2), lu(2), sz(2)...) +g3 = equidistant_grid(ll(3), lu(3), sz(3)...) v1 = rand(sz(1)...) v2 = rand(sz(2)...)