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

Call modifying init! in solve! #532

Merged
merged 2 commits into from
Mar 10, 2019
Merged

Call modifying init! in solve! #532

merged 2 commits into from
Mar 10, 2019

Conversation

mforets
Copy link
Member

@mforets mforets commented Mar 10, 2019

  • solve copies the options,

solve!(system, copy(options), op=op)

  • init copies the options again,

init(𝒫::BFFPSV18, 𝑆::AbstractSystem, 𝑂::Options) = init!(𝒫, 𝑆, copy(𝑂))

@mforets mforets requested a review from schillic March 10, 2019 10:26
Copy link
Member

@schillic schillic left a comment

Choose a reason for hiding this comment

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

LoadError: UndefVarError: init! not defined

There is also a second occurrence here:

options = init(opD, HS, options_input)

@mforets mforets merged commit 36fa9f4 into master Mar 10, 2019
@mforets mforets deleted the mforets-patch-1 branch March 10, 2019 12:48
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