]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG2/RESONANCES/AliRsnExpression.cxx
New values and cuts
[u/mrichter/AliRoot.git] / PWG2 / RESONANCES / AliRsnExpression.cxx
index 8c7e3345ebe375a8a9a1090e02b72b338908677d..943248d4e5d115b3964fe4d530d67d3e583079d4 100644 (file)
@@ -101,12 +101,11 @@ Bool_t AliRsnExpression::Value(TObjArray &vars)
       AliError("Expression undefined.");
       return kFALSE;
    }
-   if (!fArg2) {
-      AliError("Argument 2 is required.");
+   if (fArg2 == 0) {
+      AliError("Needed second parameter");
       return kFALSE;
    }
 
-
 //   AliDebug(AliLog::kDebug,Form("fOperator %d",fOperator));
 
    switch (fOperator) {