Closed Hespe closed 3 months ago
I checked all other elements as well and none seem to have the same unnecessary overwrite.
Not sure though which line in quadrupole.py
you meant in #181, @jank324?
I think I meant dipole.py
. It was late and I was working on multiple issues at the same time. 😄
Description
Removes an unnecessary name assignment within the
dipole
element to ensure all accelerator elements are assigned unique names if none are provided.Motivation and Context
Closes #181
Types of changes
Checklist
flake8
(required).pytest
tests pass (required).pytest
on a machine with a CUDA GPU and made sure all tests pass (required).Note: We are using a maximum length of 88 characters per line