We use ScopedValues.jl to customize tolerances in our codebase as you can see here:
but for some reason calling Meshes.atol(Float64) allocates.
The same code doesn't allocate when copied/pasted in the REPL.
@Jeffrey Chandler has tried Cthulhu.jl as you can see here:
Appreciate it if someone with experience in ScopedValues.jl could share what might be happening.
We also tried with the ScopedValues stdlib, and there is no difference in behavior.
Last updated: Apr 21 2026 at 06:18 UTC