From 5238808ccdf73fb4aad891d2f2c8cfa3ca3f9fd7 Mon Sep 17 00:00:00 2001 From: ferben Date: Wed, 13 Nov 2019 11:50:55 +0000 Subject: [PATCH] No DistilVectors specified in xml no throws an error --- Hadrons/Modules/MDistil/DistilVectors.hpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Hadrons/Modules/MDistil/DistilVectors.hpp b/Hadrons/Modules/MDistil/DistilVectors.hpp index f34a883d..cad53a27 100644 --- a/Hadrons/Modules/MDistil/DistilVectors.hpp +++ b/Hadrons/Modules/MDistil/DistilVectors.hpp @@ -99,10 +99,7 @@ std::vector TDistilVectors::getOutput(void) PhiName = par().phi; if (RhoName.empty() && PhiName.empty()) { - RhoName = getName(); - PhiName = RhoName; - RhoName.append("_rho"); - PhiName.append("_phi"); + HADRONS_ERROR(Range,"No output specified"); } std::vector out; if (!RhoName.empty())