diff benchmark/benchmarks.jl @ 1650:8250cf5a3ce9 feature/grids/manifolds

Merge feature/grids/curvilinear
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 26 Jun 2024 12:42:28 +0200
parents b62770cec7d0
children 3714a391545a
line wrap: on
line diff
--- a/benchmark/benchmarks.jl	Wed Jun 26 11:06:32 2024 +0200
+++ b/benchmark/benchmarks.jl	Wed Jun 26 12:42:28 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)...)