Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type specifications for GradientGrassmann #209

Merged
merged 4 commits into from
Dec 17, 2024
Merged

Type specifications for GradientGrassmann #209

merged 4 commits into from
Dec 17, 2024

Conversation

lkdvos
Copy link
Member

@lkdvos lkdvos commented Dec 15, 2024

This relaxes the finalizer type in GradientGrassmann to be anything instead of a subtype of function. Additionally, the algorithm is now parametrised on the types of the finalizer and optimkit method, which helps with typestability.

Copy link

codecov bot commented Dec 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
src/algorithms/groundstate/gradient_grassmann.jl 71.42% <100.00%> (ø)

... and 1 file with indirect coverage changes

@lkdvos lkdvos merged commit 17da2d2 into master Dec 17, 2024
28 checks passed
@lkdvos lkdvos deleted the finalizer branch December 17, 2024 07:44
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.

Inconsistent type enforcement for finalize argument in ground state solvers
1 participant