Ignore:
Timestamp:
08/17/04 15:44:38 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhbase/MHMatrix.cc

    r4654 r4655  
    591591const TArrayI MHMatrix::GetIndexOfSortedColumn(Int_t ncol, Bool_t desc) const
    592592{
     593#if ROOT_VERSION_CODE < ROOT_VERSION(4,00,8)
     594    TMatrixColumn col(fM, ncol);
     595#else
    593596    TMatrixFColumn_const col(fM, ncol);
     597#endif
    594598
    595599    const Int_t n = fM.GetNrows();
     
    614618    const Int_t n = fM.GetNrows();
    615619
     620#if ROOT_VERSION_CODE < ROOT_VERSION(4,00,8)
     621    TVector vold(fM.GetNcols());
     622#endif
     623
    616624    TMatrix m(n, fM.GetNcols());
    617     TVector vold(fM.GetNcols());
    618625    for (int i=0; i<n; i++)
    619         TMatrixFRow(m, i) /*= vold*/ = TMatrixFRow_const(fM, idx[i]);
    620 
     626#if ROOT_VERSION_CODE < ROOT_VERSION(4,00,8)
     627        TMatrixRow(m, i) = vold = TMatrixRow(fM, idx[i]);
     628#else
     629        TMatrixFRow(m, i) = TMatrixFRow_const(fM, idx[i]);
     630#endif
    621631    fM = m;
    622632}
Note: See TracChangeset for help on using the changeset viewer.