changeset 1590:62cb622cbe6b feature/sbp_operators/laplace_curvilinear

Fix typo in test jacobian
author Jonatan Werpers <jonatan@werpers.com>
date Sat, 27 Apr 2024 23:18:25 +0200
parents b22b9097d907
children 4f6f5e5daa35 0685d97ebcb0
files test/SbpOperators/volumeops/laplace/laplace_test.jl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/SbpOperators/volumeops/laplace/laplace_test.jl	Fri Apr 26 23:37:29 2024 +0200
+++ b/test/SbpOperators/volumeops/laplace/laplace_test.jl	Sat Apr 27 23:18:25 2024 +0200
@@ -93,7 +93,7 @@
         c = Chart(unitsquare()) do (ξ,η)
             @SVector[2ξ + η*(1-η), 3η+(1+η/2)*ξ^2]
         end
-        Grids.jacobian(c::typeof(c), (ξ,η)) = @SMatrix[2 1-2η; 1+η/2 3+ξ^2/2]
+        Grids.jacobian(c::typeof(c), (ξ,η)) = @SMatrix[2 1-2η; (2+η)*ξ 3+ξ^2/2]
 
         g = equidistant_grid(c, 15,15)