-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Currently, the Detector stores hits by directly referencing the underlying AbstractBeam or AbstractRay type. In Julia, this is equal to reference via a pointer. The issue is that for cases where a beam is retraced onto the detector several times without intending to use empty!, multiple hits are stored which reference the most recent state of the beam, making this use case impossible.
Possible fix: some form of deepcopy when generating an AbstractHit in addition to a testset.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working