Skip to content
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

Fixed a sign error for row/column 5 in the linear transfer matrix in the PTC_TWISS table #1121

Merged
merged 6 commits into from
Jun 21, 2022

Conversation

jsberg-bnl
Copy link

At least partially fixes #1120. Possibly still issues with RE## initialization, NORMAL maps, etc.

@jsberg-bnl
Copy link
Author

And yes, it should be failing the ptc_twiss tests since I've changed the transfer matrix signs

@jsberg-bnl
Copy link
Author

Something goes wrong in test-ptc-twiss-5D, RE66 is -1. A few possible reasons, I'll investigate. Closing the pull request and I'll make a new one when I have that bug fixed.

@jsberg-bnl jsberg-bnl closed this Jun 15, 2022
@jsberg-bnl
Copy link
Author

Found the bug, reopening, I think it will include the new commit...

@jsberg-bnl jsberg-bnl reopened this Jun 15, 2022
@jsberg-bnl
Copy link
Author

I checked the tests, all the differences appear to be the expected sign flips.

@rdemaria rdemaria merged commit 371026b into MethodicalAcceleratorDesign:master Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

In PTC_TWISS, row/column 5 entries for RE have the wrong sign.
2 participants