JuliaGaussianProcesses / KernelFunctions.jl

Julia package for kernel functions for machine learning
https://juliagaussianprocesses.github.io/KernelFunctions.jl/stable/
MIT License
267 stars 32 forks source link

Relax allocation test #530

Closed simsurace closed 6 months ago

simsurace commented 10 months ago

Fixes part of #526. For some reason I have not been able to figure out, starting from Julia 1.9 the allocations in these AD calls can be off by one from call to call. This PR relaxes the test slightly. I think this still serves the original purpose of the test.

codecov[bot] commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (16a9828) 90.87% compared to head (768912b) 90.87%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #530 +/- ## ======================================= Coverage 90.87% 90.87% ======================================= Files 52 52 Lines 1458 1458 ======================================= Hits 1325 1325 Misses 133 133 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.