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

fix KyrlovJL remake #534

Closed
wants to merge 1 commit into from

Conversation

oscardssmith
Copy link
Contributor

we had this args field that was never being used, but did break remake.

# before:
julia> remake(KrylovJL_GMRES(), precs=nothing).kwargs
pairs(::NamedTuple) with 1 entry:
  :args => ()
# after:
julia> remake(KrylovJL_GMRES(), precs=nothing).kwargs
Base.Pairs{Symbol, Union{}, Tuple{}, @NamedTuple{}}()

As a side-note, we should fix the default SciMLBase remake for structs with fields named both args and kwargs

@oscardssmith
Copy link
Contributor Author

I think the proper fix here is actually SciML/SciMLBase.jl#769 (although it does appear that this functionality may not quite be working as intended)

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.

1 participant