ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/Utils/src/SimpleTable.cc
(Generate patch)

Comparing UserCode/MitAna/Utils/src/SimpleTable.cc (file contents):
Revision 1.2 by loizides, Fri Jan 23 08:46:48 2009 UTC vs.
Revision 1.3 by loizides, Mon Mar 23 14:42:12 2009 UTC

# Line 47 | Line 47 | SimpleTable::SimpleTable(const char *inp
47      in >> value;
48      in.getline(dummy,1024);
49  
50 +    if (value.IsNull()) {
51 +      Error("SimpleTable", "Value corresponding to name %s is null.", name.Data());
52 +      continue;
53 +    }
54      TFormula fval("formula",value);
55      MyParameter *par = new MyParameter(name,fval.Eval(0));
56      fTable.Add(par);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines