We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fb038b commit 46db245Copy full SHA for 46db245
src/compas_cgal/measure.py
@@ -77,4 +77,4 @@ def mesh_centroid(mesh: VerticesFaces) -> list[float]:
77
V = np.asarray(V, dtype=np.float64, order="C")
78
F = np.asarray(F, dtype=np.int32, order="C")
79
vector_of_double: _types_std.VectorDouble = _measure.centroid(V, F)
80
- return vector_of_double.tolist() # type: ignore
+ return list(vector_of_double)
0 commit comments