Commit c9165f0f authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Fix bug in Clustering4D; don't use object which has been moved

parent 4ade3164
......@@ -9,7 +9,7 @@ Clustering4D::Clustering4D(Configuration config, std::shared_ptr<Detector> detec
// Backwards compatibilty: also allow timing_cut to be used for time_cut_abs
config.setAlias("time_cut_abs", "timing_cut", true);
if(config.count({"time_cut_rel", "time_cut_abs"}) > 1) {
if(m_config.count({"time_cut_rel", "time_cut_abs"}) > 1) {
throw InvalidCombinationError(
m_config, {"time_cut_rel", "time_cut_abs"}, "Absolute and relative time cuts are mutually exclusive.");
} else if(m_config.has("time_cut_abs")) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment