Skip to content

Commit 0c0a661

Browse files
Emergency typo fix
1 parent db97ef6 commit 0c0a661

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cadquery/occ_impl/shapes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -805,7 +805,7 @@ def computeMass(obj: "Shape", tol: Optional[float] = None) -> float:
805805
Properties = GProp_GProps()
806806
calc_function = Shape._mass_calc_function(obj)
807807

808-
calc_function(obj.wrapped, Properties, *(tol if tol else ()))
808+
calc_function(obj.wrapped, Properties, *((tol,) if tol else ()))
809809

810810
return Properties.Mass()
811811

0 commit comments

Comments
 (0)