pyphi.models.cmp.EQUALITY_TOLERANCE#

pyphi.models.cmp.EQUALITY_TOLERANCE = 1e-13#

Tolerance for structural equality on IIT quantities. Absorbs op-order drift in float64 arithmetic on IIT measures while distinguishing real math regressions. Used by numpy_aware_eq (model __eq__) and by golden-fixture comparisons in the test suite. Independent of config.numerics.precision, which governs user-configurable phi comparison via numerics.eq.