Skip to content

Commit f19dce4

Browse files
committed
Correction to bottom data in test_fit() unit test
1 parent b88ab61 commit f19dce4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_mesh.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ def f(pos): return -(0.1 * pos[0] + 0.01 * pos[0] * pos[1])
609609
def f(pos): return -(pos[0] / 150. + pos[0] * pos[1] / 300.)
610610
z = np.array([f(p) for p in colpos])
611611
surface = np.hstack((colpos, np.vstack(z)))
612-
bottom = surface - 3.
612+
bottom = np.hstack((colpos, np.vstack(z) - 3.))
613613
m.fit_surface(surface)
614614
m.fit_bottom(bottom)
615615
self.assertEqual(21, m.num_cells)

0 commit comments

Comments
 (0)