-
Notifications
You must be signed in to change notification settings - Fork 5
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
Fix allocation-based unit tests #336
Conversation
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.
Does this test work when somebody applies an older version than Julia v1.8? I mean, we could state that NQCD requires Julia v1.8 minimum to remedy this. I just wanted to point out, that the if case here does not account for older versions than Julia v1.8 and consequently might break.
Good point, I've made it catch-all now. Minimum Julia version enforced at the moment is 1.7. |
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.
Yes, that looks good now. :)
* Stopgap fix for failing unit tests based on memory allocation * Add allocation test debug messages * Fixed version logic to be defined for all Julia versions
I'm not particularly proud of this "temporary" fix to the failing tests for
LargeDiabaticCalculator
andRingPolymerLargeDiabaticCalculator
, but here we are. Until we decide on a better unit test to replace these ones, we can whitelist different values for different Julia versions.