Skip to content

Refresh Hessian caches on run#186

Merged
ChrisRackauckas merged 1 commit intomasterfrom
hesscache
Apr 16, 2024
Merged

Refresh Hessian caches on run#186
ChrisRackauckas merged 1 commit intomasterfrom
hesscache

Conversation

@ChrisRackauckas
Copy link
Member

Fixes #185 and fixes #127

end
end

@testset "Hessian Cache test" begin
Copy link
Member

@gdalle gdalle Apr 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A good strategy to catch more bugs like that would be to initialize all caches with randomized versions of x, y and friends in the test suite. That's how I caught it with DifferentiationInterface.

@gdalle
Copy link
Member

gdalle commented Apr 16, 2024

thanks for the quick fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot reuse HessianCache for another value of x Output depends on values in cache

2 participants