Changeset 10282


Ignore:
Timestamp:
Apr 4, 2011, 1:36:07 PM (10 years ago)
Author:
tbretz
Message:
Fixed a problem with a wrong cast.
Location:
trunk/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/Changelog

    r10281 r10282  
    4444   * mbase/MThread.h:
    4545     - added missing argument to call of fThread.Run()
     46
     47   * mhbase/MH3.cc:
     48     - fixed a problem with a wrong cast
    4649
    4750
  • trunk/Mars/mhbase/MH3.cc

    r10234 r10282  
    990990            static_cast<TProfile&>(h).SetBinEntries(i, p1->GetBinEntries(i)>0 ? 1 : 0);
    991991
    992     TProfile *p2 = dynamic_cast<TProfile*>(fHist);
     992    TProfile2D *p2 = dynamic_cast<TProfile2D*>(fHist);
    993993    if (p2)
    994994        for (Int_t i=0; i<p2->GetSize(); i++)
Note: See TracChangeset for help on using the changeset viewer.