Warning message for DCAY=1 corrected.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 16 Sep 2004 07:08:27 +0000 (07:08 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 16 Sep 2004 07:08:27 +0000 (07:08 +0000)
TFluka/TFluka.cxx

index 3daafdd..e7828a2 100644 (file)
@@ -1343,7 +1343,7 @@ fin:
       // flag = 1 decays, secondaries processed
       // flag = 2 decays, no secondaries stored
       //gMC ->SetProcess("DCAY",1); // not available
-      else if ((strncmp(proc->GetName(),"DCAY",4) == 0) && proc->Flag() == 1) 
+      else if ((strncmp(proc->GetName(),"DCAY",4) == 0) && proc->Flag() == 0) 
          cout << "SetProcess for flag=" << proc->GetName() << " value=" << proc->Flag() << " not avaliable!" << endl;
       
       // delta-ray