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

small bug fix in Tutorial package

parent d7c4c953
No related branches found
No related tags found
No related merge requests found
......@@ -35,8 +35,8 @@ JPCdecays::JPCdecays(boost::shared_ptr<const jpcRes> motherJPC, boost::shared_pt
Spin theS=itLS->S;
int cparity=0;
if (bosons) cparity=pow(-1,int(theL));
else cparity=pow(-1,int(theL+theS)); //daughters are fermions
if (bosons) cparity=int(pow(-1,theL));
else cparity=int(pow(-1,(theL+theS))); //daughters are fermions
if(_motherJPC->C != cparity ) allowedC=false;
}
......
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