diff benchmark/benchmarks.jl @ 1594:d68d02dd882f feature/boundary_conditions

Merge with default
author Vidar Stiernström <vidar.stiernstrom@gmail.com>
date Sat, 25 May 2024 16:07:10 -0700
parents 43aaf710463e
children 7f5e4d2a5112 29c7a787e67d
line wrap: on
line diff
--- a/benchmark/benchmarks.jl	Tue Jan 23 20:48:25 2024 +0100
+++ b/benchmark/benchmarks.jl	Sat May 25 16:07:10 2024 -0700
@@ -15,9 +15,9 @@
 ll(d) = ntuple(i->0., d)
 lu(d) = ntuple(i->1., d)
 
-g1 = equidistant_grid(sz(1)[1],ll(1)[1],lu(1)[1])
-g2 = equidistant_grid(sz(2),ll(2),lu(2))
-g3 = equidistant_grid(sz(3),ll(3),lu(3))
+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))
 
 v1 = rand(sz(1)...)
 v2 = rand(sz(2)...)