Skip to content

Commit 46db245

Browse files
committed
fix centroid output
1 parent 2fb038b commit 46db245

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compas_cgal/measure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,4 @@ def mesh_centroid(mesh: VerticesFaces) -> list[float]:
7777
V = np.asarray(V, dtype=np.float64, order="C")
7878
F = np.asarray(F, dtype=np.int32, order="C")
7979
vector_of_double: _types_std.VectorDouble = _measure.centroid(V, F)
80-
return vector_of_double.tolist() # type: ignore
80+
return list(vector_of_double)

0 commit comments

Comments
 (0)