1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-09 21:50:45 +01:00

No DistilVectors specified in xml no throws an error

This commit is contained in:
ferben 2019-11-13 11:50:55 +00:00
parent 12e415330f
commit 5238808ccd

View File

@ -99,10 +99,7 @@ std::vector<std::string> TDistilVectors<FImpl>::getOutput(void)
PhiName = par().phi; PhiName = par().phi;
if (RhoName.empty() && PhiName.empty()) if (RhoName.empty() && PhiName.empty())
{ {
RhoName = getName(); HADRONS_ERROR(Range,"No output specified");
PhiName = RhoName;
RhoName.append("_rho");
PhiName.append("_phi");
} }
std::vector<std::string> out; std::vector<std::string> out;
if (!RhoName.empty()) if (!RhoName.empty())