diff test/SbpOperators/volumeops/volume_operator_test.jl @ 1529:43aaf710463e refactor/equidistant_grid/signature

Change to signature of equidistant_grid to same style as many array methods. See for example Array{T}(undef, dims...), zeros(T, dims...), fill(a, dims...) and more.
author Jonatan Werpers <jonatan@werpers.com>
date Thu, 11 Apr 2024 22:31:04 +0200
parents 356ec6a72974
children 471a948cd2b2
line wrap: on
line diff
--- a/test/SbpOperators/volumeops/volume_operator_test.jl	Wed Apr 10 09:01:54 2024 +0200
+++ b/test/SbpOperators/volumeops/volume_operator_test.jl	Thu Apr 11 22:31:04 2024 +0200
@@ -14,7 +14,7 @@
 @testset "VolumeOperator" begin
     inner_stencil = CenteredStencil(1/4, 2/4, 1/4)
     closure_stencils = (Stencil(1/2, 1/2; center=1), Stencil(2.,1.; center=2))
-    g = equidistant_grid(11,0.,1.)
+    g = equidistant_grid(0.,1., 11)
 
     @testset "Constructors" begin
         op = VolumeOperator(inner_stencil,closure_stencils,(11,),even)