Skip to content

Conversation

@jClugstor
Copy link
Member

Checklist

  • Appropriate tests were added
  • Any code changes were done in a way that does not break public API
  • All documentation related to code changes were updated
  • The new code follows the
    contributor guidelines, in particular the SciML Style Guide and
    COLPRAC.
  • Any new documentation only uses public API

Additional context

We were putting a NonlinearAliasSpecifier in to an ODE solve

haskey(odesolve_kwargs, :callback) &&
(callback = CallbackSet(callback, odesolve_kwargs[:callback]))
kwargs = pairs(merge((; kwargs...), haskey(kwargs, :verbose) ? (verbose=true,) : (;)))
kwargs = pairs(merge((; kwargs...),
Copy link
Member

Choose a reason for hiding this comment

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

only one?

Copy link
Member Author

Choose a reason for hiding this comment

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

merge takes the value of the right most named tuple, so if kwargs has an alias_u0 key, it will use ODEAliasSpecifier(; u0=kwargs[:alias_u0]) for alias.

Should we be passing kwargs to solve here anyways? The kwargs that should go in to the ODE solve should be in odesolve_kwargs?

@jClugstor
Copy link
Member Author

Oh I see this was handled by #98

@jClugstor jClugstor closed this Nov 6, 2025
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