Skip to content

Commit 2c79fc7

Browse files
committed
Update tolerance docstring to reflect precision-dependent default.
1 parent 67946aa commit 2c79fc7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

genesis/options/solvers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,8 @@ class RigidOptions(Options):
435435
iterations : int, optional
436436
Number of iterations for the constraint solver. Defaults to 50.
437437
tolerance : float, optional
438-
Tolerance for the constraint solver. Defaults to 1e-6.
438+
Tolerance for the constraint solver. Defaults to None, which is resolved at build time based on the
439+
floating-point precision: 1e-5 for single precision (f32) and 1e-8 for double precision (f64).
439440
ls_iterations : int, optional
440441
Number of line search iterations for the constraint solver. Defaults to 50.
441442
ls_tolerance : float, optional

0 commit comments

Comments
 (0)