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

Remove unnecessary eltype checks of preconditioners #477

Merged
merged 1 commit into from
Jan 11, 2022

Conversation

ChrisRackauckas
Copy link
Contributor

These aren't even used and should not be expected to be defined. Matrix-free preconditioners, like geometric multigrid, do not necessarily have a sense of what eltype is.

These aren't even used and should not be expected to be defined. Matrix-free preconditioners, like geometric multigrid, do not necessarily have a sense of what eltype is.
ChrisRackauckas added a commit to ChrisRackauckas/IncompleteLU.jl that referenced this pull request Jan 9, 2022
Honestly this shouldn't be required, but for some reason Krylov.jl wants to check the eltype of a preconditioner. I'm telling them not to ask for potentially undefined quantities here: JuliaSmoothOptimizers/Krylov.jl#477, but in the meantime this is required for compatibility.
@amontoison amontoison merged commit 0994737 into JuliaSmoothOptimizers:main Jan 11, 2022
@amontoison
Copy link
Member

Thanks @ChrisRackauckas
I will update the other Krylov methods and do a new release.

@ChrisRackauckas ChrisRackauckas deleted the patch-1 branch January 11, 2022 15:09
@ChrisRackauckas
Copy link
Contributor Author

Thanks!

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.

2 participants