We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b88ab61 commit f19dce4Copy full SHA for f19dce4
1 file changed
tests/test_mesh.py
@@ -609,7 +609,7 @@ def f(pos): return -(0.1 * pos[0] + 0.01 * pos[0] * pos[1])
609
def f(pos): return -(pos[0] / 150. + pos[0] * pos[1] / 300.)
610
z = np.array([f(p) for p in colpos])
611
surface = np.hstack((colpos, np.vstack(z)))
612
- bottom = surface - 3.
+ bottom = np.hstack((colpos, np.vstack(z) - 3.))
613
m.fit_surface(surface)
614
m.fit_bottom(bottom)
615
self.assertEqual(21, m.num_cells)
0 commit comments