Occasional freeze when registering individual samplers
Issue #113
resolved
Program freezes when registering individual samplers e.g. in examples/features/processes/6_muon/muon_samplers.gmad.
There are no problems registering all components as samplers using:
sample, all;
Comments (5)
-
-
- changed title to Cannot register sampler on first element if that is a marker
-
assigned issue to
-
This was due to a bug in the fastlist class implementation. Some range iterators were invalidated while inserting into the lookup map. Surprisingly this didn't show up more often.
-
- changed title to Occasional freeze when registering individual samplers
-
- changed status to resolved
fix issue
#113: careful insertion into lookup map→ <<cset be3265b38e28>>
- Log in to comment
Thanks for the report. This happens only if the sampler is attached to the first element and if that is a marker.