Skip to content

Commit 5b333b8

Browse files
committed
correct type
1 parent 367b263 commit 5b333b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pypeec/lib_mesher/mesher_shape.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def _get_shape_mesh(z_min, z_max, obj):
9292
polygon = polygon.delaunay_2d(edge_source=polygon)
9393

9494
# extrude the polygon into a 3D mesh
95-
mesh = polygon.extrude((0, 0, z_max - z_min), capping=True)
95+
mesh = polygon.extrude((0.0, 0.0, z_max - z_min), capping=True)
9696

9797
return mesh
9898

0 commit comments

Comments
 (0)