Files
CoolProp/dev
Ian Bell 5b53e4394a test(plot): use composed matchers to tolerate cross-platform libm jitter (#2760)
The Plot isoline `.value` checks asserted at WithinAbs(value, 1e-10), which
is platform-fragile: libm transcendentals (exp/log/pow) differ in the last
few bits across glibc, Apple libm, and UCRT, and that propagates through
the EOS solvers into ~1e-9 to 1e-10 relative differences in the computed
range bounds. Reference data regenerated on macOS in #2749 therefore broke
the Linux CI.

Switch to `WithinAbs(v, abs) || WithinRel(v, 1e-8)`: keeps the absolute
tolerance as a near-zero safety net and adds a 1e-8 relative tolerance
that comfortably covers the observed cross-platform jitter (worst case
~5e-9 rel for p_isolines[4]). Updated the generator script and re-ran it
to regenerate src/CoolPropPlot.cpp.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-20 19:06:15 -04:00
..
2025-10-12 09:28:57 -04:00
2025-04-07 21:13:33 -04:00
2015-04-03 21:02:48 -06:00
2019-01-12 20:45:25 -07:00
2025-10-12 09:28:57 -04:00
2022-10-20 20:00:22 -04:00
2025-04-07 07:30:28 -04:00
2025-03-09 10:38:56 -04:00
2019-10-17 19:05:55 -06:00
2019-01-12 20:45:25 -07:00