Skip to content

Commit 856f48e

Browse files
CopilotLicini
andcommitted
Fix encoding error for IronPython compatibility
Replace non-ASCII characters (· and ×) with ASCII equivalents (dot and cross) in comment on line 3931 to fix IronPython syntax error. Co-authored-by: Licini <17893605+Licini@users.noreply.github.com>
1 parent 066c0f5 commit 856f48e

File tree

1 file changed

+1
-1
lines changed
  • src/compas/datastructures/mesh

1 file changed

+1
-1
lines changed

src/compas/datastructures/mesh/mesh.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3928,7 +3928,7 @@ def volume(self):
39283928
# Each face is now a triangle (3 vertices)
39293929
a, b, c = [vertices[i] for i in face]
39303930
# Signed volume of tetrahedron formed by triangle and origin
3931-
# V = (1/6) * (a · (b × c)) where a, b, c are the vertices
3931+
# V = (1/6) * (a dot (b cross c)) where a, b, c are the vertices
39323932
bc = cross_vectors(b, c)
39333933
vol = dot_vectors(a, bc) / 6.0
39343934
volume += vol

0 commit comments

Comments
 (0)