Skip to content
Snippets Groups Projects
Commit 4c92c700 authored by Bertram Kopf's avatar Bertram Kopf
Browse files

bug fix for enabling pipiS wave

parent 11367110
No related branches found
No related tags found
No related merge requests found
......@@ -117,7 +117,8 @@ void epemEnv::setup(epemParser* theEpEmParser){
std::string toFind=particleStr+"To";
size_t found;
found = theDecName.find(toFind);
if (found!=string::npos){
if (found!=string::npos && found==0){
(*itDec)->enableDynamics(dynStr, additionalStringVec);
}
}
......
......@@ -139,7 +139,7 @@ void pbarpEnv::setup(pbarpParser* thePbarpParser){
std::string toFind=particleStr+"To";
size_t found;
found = theDecName.find(toFind);
if (found!=string::npos){
if (found!=string::npos && found==0){
(*itDec)->enableDynamics(dynStr, additionalStringVec);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment