Changeset 6831
- Timestamp:
- 03/16/05 14:00:04 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r6828 r6831 32 32 - removed obsolete flag for ModifiedExtractWin 33 33 34 * mdata/MDataChain.cc: 35 - fixe to allow sign after e (eg. 1e-3, 1e+5 instead of 1e3, 1e5) 34 36 35 37 * mcalib/MCalibColorSet.cc, mcalib/MCalibrationChargeCalc.cc, -
trunk/MagicSoft/Mars/mdata/MDataChain.cc
r6572 r6831 399 399 void MDataChain::AddParenthesis(TString &test, const TString op) const 400 400 { 401 // Signiture of an exponential number 1e12 402 static const TRegexp rexp("[.0123456789]e[+-][0123456789]"); 403 401 404 const TString low = op(1, op.Length()); 402 405 if (low.Length()==0) … … 425 428 if (cnt>0 || low.First(check[i])<0) 426 429 continue; 430 431 // Check if operator belongs to an exponential number 432 const TString sub(check(i-2, 4)); 433 if (!sub(rexp).IsNull()) 434 continue; 427 435 break; 428 436 } … … 437 445 cnt--; 438 446 if (cnt>0 || low.First(check[j])<0) 447 continue; 448 449 // Check if operator belongs to an exponential number 450 const TString sub(check(j-2, 4)); 451 if (!sub(rexp).IsNull()) 439 452 continue; 440 453 break;
Note:
See TracChangeset
for help on using the changeset viewer.