Skip to content

DepositionReader: fix parent ID relation (GH PR 24)

Simon Spannagel requested to merge stephanlachnit-p/deposition-reader-fix into master

Essentially what happened is that while emplacing, the MCParticle std::vector was moved, resulting in wrong pointers. To fix this, one can reserve the needed size before, so nothing is moved.

https://github.com/allpix-squared/allpix-squared/pull/24

Merge request reports