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

allow the use of thick elements in a Line.from_sequence #376

Merged

Conversation

szymonlopaciuk
Copy link
Collaborator

Description

Proposed fix for xsuite/xsuite#359 to allow thick element in the sequence.

I added a refer parameter to from_sequence to mirror the same behaviour in MAD-X, however I made entry the default to align with the other behaviours of Xsuite.

Closes xsuite/xsuite#359.

Checklist

Mandatory:

  • I have added tests to cover my changes
  • All the tests are passing, including my new ones
  • I described my changes in this PR description

Optional:

  • The code I wrote follows good style practices (see PEP 8 and PEP 20).
  • I have updated the docs in relation to my changes, if applicable
  • I have tested also GPU contexts

Signed-off-by: Szymon Łopaciuk <szymon@lopaciuk.eu>
@giadarol giadarol changed the base branch from main to release/v0.41.3 September 2, 2023 13:16
@giadarol giadarol merged commit e6a13db into xsuite:release/v0.41.3 Sep 2, 2023
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.

Support thick elements in Line.from_sequence
2 participants