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

changed error type

This commit is contained in:
ferben 2019-11-13 12:16:56 +00:00
parent 65b3059bd7
commit 667ffb70db

View File

@ -99,7 +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())
{ {
HADRONS_ERROR(Range,"No output specified"); HADRONS_ERROR(Argument,"No output specified");
} }
std::vector<std::string> out; std::vector<std::string> out;
if (!RhoName.empty()) if (!RhoName.empty())