-
-
Notifications
You must be signed in to change notification settings - Fork 21
Code generator: use different arrays for constants, computed constants, and algebraic variables #1247
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
base: main
Are you sure you want to change the base?
Conversation
874f4a6 to
5628b66
Compare
…s, and algebraic variables.
…d algebraic variables for initialiseVariables().
…d algebraic variables for computeRates().
…d algebraic variables for computeVariables().
…d algebraic variables for computeComputedConstants().
To do it manually is very time consuming while here it gets done automatically. From there, we can quickly confirm, using git, whether the new expected file contents is correct.
…tants, and algebraic arrays.
… an equation. We will also need to keep track of states and constants.
f21044c to
3f1e632
Compare
da8d589 to
ab7db7e
Compare
…nalyserVariable().
…Impl::doAddImplementationVariableInfoCode().
…:addImplementationVariableInfoCode().
I feel this may be a 4.15 Friday discussion? |
…sh between our two types of variables.
This is more consistent with our `createXxxArray()` methods and `deleteArray()` method.
Just remembered that we haven't got a consensus on this one. Thinking more about it, I guess we could have Ok, done in b4045c6. |
|
By the way, we replaced instances like So... I guess I should replace all of those too...? @hsorby? |
I think this PR is heavy enough as is and maybe the case for a new issue and then do this separately to this PR. |
Fair enough. Would then be good to merge this PR ASAP, so that I can submit a follow-up PR. |
hsorby
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
analyser_p.h needs adding to GIT_HEADER_FILES
Some minor edits for me then I think it will ge all good.
Oops, done in 37e2b7b. |
Fixes #1243.