Repository navigation
Conversation
- Remove unused `varStore` stuff. - Import nCompiler in its entirety to give user access to math/distribution functions (and remove use on nCompiler::). - Remove extraneous exports that were present for testing. - Remove nimbleModel and nCompiler namespace operators in tests. - Add some needed imports. - Add exports needed for nimble2. - Replace `messageIfVerbose` and `warning` with `nMessage`. - Replace `is.rcf` with use of `inherits(x, nFunction)`. - Remove unused `getType()`. - Remove all uses/references to `nimX` functions.
Contributor
|
This is a lot of details but I'd say just go ahead. Have you checked if this will break an nimble2 tests? From nimble2 you can manually choose the nimbleModel branch to use, so you can test on this branch. I'm wondering if removing the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
varStorestuff.messageIfVerboseandwarningwithnMessage.is.rcfwith use ofinherits(x, nFunction).getType().nimXfunctions.The full import of
nCompileris worth a note. This seems to allow the various math/distribution functions to be found when used in a model, though I am confused why that works, given the user's model is in the global environment. I guess it has something to do with howcalc_oneis set up.Also note that I left various uses of
nCompiler::even though they aren't needed anymore. I thought it would be helpful in the case of use of more obscurenCompilerfunctions. I did not keepnCompiler::for a few obvious things likenCompile,nFunction, etc.