-
Notifications
You must be signed in to change notification settings - Fork 33
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
Matching fixes #615
Matching fixes #615
Conversation
@simoneliuzzo , is this ok for you? You will have to remove the modulo on the desired phase in your matching jobs as discussed yesterday. |
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.
For Nans instead of errors, the rule is not clear. For safety. penalty evaluation functions should be prepared for both possibilities.
True, to be kept in mind for the new matching module |
I just checked with @simoneliuzzo this is ok so I merge it |
@lfarv could you re-approve? I just made some pep8 fixes |
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.
Still ok !
Couple bugs were found in the matching module:
These are now fixed.
In addition an improved handling of phase advance avoiding modulos in users script not matching integer part of the tune is added. Finally for 2D and 4D linopt calculations, the AtError 'Unstable ring' is caught and sent back as warning, in which case NaN are returned