SciML / PolyChaos.jl

A Julia package to construct orthogonal polynomials, their quadrature rules, and use it with polynomial chaos expansions.
https://docs.sciml.ai/PolyChaos/stable/
MIT License
115 stars 26 forks source link

Use approximate comparison to test floating-point results #92

Closed bowenszhu closed 1 year ago

bowenszhu commented 1 year ago

The CI randomly fails because

julia> 0.3333333333333338 == 0.33333333333333376
false
codecov[bot] commented 1 year ago

Codecov Report

Merging #92 (2a19c18) into master (f1a95f4) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #92   +/-   ##
=======================================
  Coverage   90.19%   90.19%           
=======================================
  Files          15       15           
  Lines         959      959           
=======================================
  Hits          865      865           
  Misses         94       94           

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more