Changeset 7421 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
11/22/05 12:13:35 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r7420 r7421  
    5454   * mjtrain/MJTrainRanForest.cc:
    5555     - added some comment
     56     - adde more log output to WriteDisplay
    5657
    5758   * mjtrain/MJTrainSeparation.cc:
  • trunk/MagicSoft/Mars/mdata/MDataFormula.cc

    r7418 r7421  
    139139
    140140    fFormula = new TFormula;
    141 
    142     //Must have a name otherwise all axis label disappear like a miracle
    143     fFormula->SetName(fName);
     141    // Must have a name otherwise all axis labels disappear like a miracle
     142    fFormula->SetName(fName.IsNull()?"TFormula":fName);
    144143
    145144    if (fFormula->Compile(txt))
  • trunk/MagicSoft/Mars/mjtrain/MJTrainRanForest.cc

    r7420 r7421  
    8484{
    8585    TFile file(fname, "UPDATE");
     86    if (!file.IsOpen())
     87    {
     88        *fLog << err << "ERROR - Couldn't open file " << fname << " for writing." << endl;
     89        return kFALSE;
     90    }
    8691
    87     *fLog << inf << " - MStatusDisplay..." << flush;
     92    *fLog << inf << "Wrinting to " << fname << ":" << endl;
     93    *fLog << " - MStatusDisplay..." << flush;
    8894    if (fDisplay && fDisplay->Write()<=0)
    8995    {
Note: See TracChangeset for help on using the changeset viewer.