@@ -1194,7 +1194,7 @@ def test_coupling(self, eq1, eq2, j01_matvec, j10_matvec):
11941194 ('Eq(e.laplace + 5.*e, f)' , 'Eq(g.laplace + 5.*g, h)' , '4' ,
11951195 'h_x*(5.0 - 2.5/h_x**2)' ),
11961196 ('Eq(e.dx + e + e.laplace, f)' , 'Eq(g.dx + g + g.laplace, h.dx)' , '2' ,
1197- 'h_x*(1 + 1/h_x - 2.0/h_x**2)' ),
1197+ 'h_x*(1 - 1/h_x - 2.0/h_x**2)' ),
11981198 ('Eq(e.dx + e + e.laplace, f)' , 'Eq(g.dx + g + g.laplace, h.dx)' , '4' ,
11991199 'h_x*(1 - 2.5/h_x**2)' ),
12001200 ('Eq(2.*e.laplace + e, f)' , 'Eq(2*g.laplace + g, h)' , '2' ,
@@ -1244,7 +1244,7 @@ def test_jacobian_scaling_1D(self, eq1, eq2, so, scale):
12441244 ('Eq(e.laplace + 5.*e, f)' , 'Eq(g.laplace + 5.*g, h)' , '4' ,
12451245 'h_x*h_y*(5.0 - 2.5/h_y**2 - 2.5/h_x**2)' ),
12461246 ('Eq(e.dx + e.dy + e + e.laplace, f)' , 'Eq(g.dx + g.dy + g + g.laplace, h)' ,
1247- '2' , 'h_x*h_y*(1 + 1/h_y - 2.0/h_y**2 + 1/h_x - 2.0/h_x**2)' ),
1247+ '2' , 'h_x*h_y*(1 - 1/h_y - 2.0/h_y**2 - 1/h_x - 2.0/h_x**2)' ),
12481248 ('Eq(e.dx + e.dy + e + e.laplace, f)' , 'Eq(g.dx + g.dy + g + g.laplace, h)' ,
12491249 '4' , 'h_x*h_y*(1 - 2.5/h_y**2 - 2.5/h_x**2)' ),
12501250 ('Eq(2.*e.laplace + e, f)' , 'Eq(2*g.laplace + g, h)' , '2' ,
@@ -1295,7 +1295,7 @@ def test_jacobian_scaling_2D(self, eq1, eq2, so, scale):
12951295 'h_x*h_y*h_z*(5.0 - 2.5/h_z**2 - 2.5/h_y**2 - 2.5/h_x**2)' ),
12961296 ('Eq(e.dx + e.dy + e.dz + e + e.laplace, f)' ,
12971297 'Eq(g.dx + g.dy + g.dz + g + g.laplace, h)' , '2' ,
1298- 'h_x*h_y*h_z*(1 + 1/h_z - 2.0/h_z**2 + 1/h_y - 2.0/h_y**2 + ' +
1298+ 'h_x*h_y*h_z*(1 - 1/h_z - 2.0/h_z**2 - 1/h_y - 2.0/h_y**2 - ' +
12991299 '1/h_x - 2.0/h_x**2)' ),
13001300 ('Eq(e.dx + e.dy + e.dz + e + e.laplace, f)' ,
13011301 'Eq(g.dx + g.dy + g.dz + g + g.laplace, h)' , '4' ,
0 commit comments