Skip to content
Snippets Groups Projects
Commit a905c93c authored by Ernoult's avatar Ernoult Committed by BaM
Browse files

fix implementation of wrning leading to seg fault

parent d9348939
No related branches found
No related tags found
No related merge requests found
......@@ -293,7 +293,7 @@ TTree* XSM_SFR::CreateTMVAInputTree(IsotopicVector isotopicvector,int TimeStep)
else if(ZAIname=="U"){
Z = 92;
}
if(Z<= 0 || A<= 0)
if((Z<= 0 || A<= 0 )&& fTMVAFixedVariable[j]==false)
{
ERROR << " wrong TMVA weight format " << endl;
exit(0);
......
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