-
Notifications
You must be signed in to change notification settings - Fork 36
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
Use infix evaluation #1565
base: develop
Are you sure you want to change the base?
Use infix evaluation #1565
Conversation
This reverts commit 10bb3c7.
Test summary 432 files 679 suites 31s ⏱️ For more details on these failures, see this check. Results for commit a8542c5. ♻️ This comment has been updated with latest results. |
@sethrj @elliottbiondo Is this failing because we need to update all the orange test data which is in postfix notation, e.g. here |
Oh boy. Let's chat about this on slack? Namely if we're going to hardcode an option, whether and where to test it... And if we're going to break all the CSG representation strings, one thing I would like to do is flip the values of |
Yep, we can discuss this on Slack. I wanted to get numbers from the regression suite, so this is a quick, hardcoded implementation, but there are also logic strings in the regression suite. |
@esseivaju I think you can rebuild those manually by calling $ export GDML=foo.gdml
$ build/test/orange/g4org_Converter '--gtest_filter=*arbitrary' --gtest_also_run_disabled_tests and that'll spit out the necessary JSON files locally. That might not be true for the custom TestEM3 🤔 |
If infix/postfix could be toggled as a runtime option that would side-step the issue with the orange test data, correct? |
@elliottbiondo yeah, but since it requires different implementations deep in SimpleUnitTracker that would mean propagating a lot of templates... I think we'd want this switch to be all or nothing. |
c0ef7ce
to
05f8541
Compare
Use infix evaluation of logic expressions. We probably want to give a compile-time or run-time option to pick between infix and postfix notation.