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

Fix for lost particle in PTC #972

Merged

Conversation

tpersson
Copy link
Contributor

@tpersson tpersson commented Jan 8, 2021

Previously in MAD-X PTC when you were running with several particles and a particle with lower index than the following lost particles were recorded then the following lost particles were given the wrong coordinates. In the normal case they were given a coordinate belonging to a different particle. This PR fixes this which was reported even if a slightly different wording in #962

@coveralls
Copy link

coveralls commented Jan 8, 2021

Coverage Status

Coverage decreased (-0.002%) to 54.494% when pulling 4852987 on tpersson:fixForLostParticlePTC into c8ab0cf on MethodicalAcceleratorDesign:master.

@tpersson
Copy link
Contributor Author

This fixes problem reported in #962

@tpersson tpersson merged commit 3881688 into MethodicalAcceleratorDesign:master Jan 11, 2021
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.

None yet

4 participants