]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TAmpt/TAmpt.cxx
Fixing in/out tags in documentation
[u/mrichter/AliRoot.git] / TAmpt / TAmpt.cxx
index c12ba0517367c248ddff8a145a4c4875615b28ea..1cf10a9792976ed8e8e726df30657f7151188fc7 100644 (file)
@@ -1100,6 +1100,7 @@ void TAmpt::SetPARJ(Int_t key, Float_t parm)
   if ( key < 1 || key > 200) {
     printf("ERROR in TAmpt::SetPARJ(key,parm):\n");
     printf("      key=%i is out of range [1..200]\n",key);
+    return;
   }
   LUDAT1.parj[key-1] = parm;
 }
@@ -1111,6 +1112,7 @@ void TAmpt::SetMSTJ(Int_t key, Int_t parm)
   if ( key < 1 || key > 200) {
     printf("ERROR in TAmpt::SetMSTJ(key,parm):\n");
     printf("      key=%i is out of range [1..200]\n",key);
+    return;
   }
   LUDAT1.mstj[key-1] = parm;
 }