TorchElemen forward method returns a Particle instead of Beam in track_torch.py. The conversion to a Beam is commented in the code:
|
#return particle_to_beam(par) |
which makes me think that I tried to implement this change in the past and caused issues. I will investigate this issue.
TorchElemenforward method returns aParticleinstead ofBeamintrack_torch.py. The conversion to aBeamis commented in the code:Bmad-X/bmadx/bmad_torch/track_torch.py
Line 73 in 46a4a3a
which makes me think that I tried to implement this change in the past and caused issues. I will investigate this issue.