Ignore:
Timestamp:
Oct 15, 2008, 5:24:48 PM (13 years ago)
Author:
Peter
Message:

refs #396 - fixing in KernelLookup?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/classifier/MatrixLookupWeighted.cc

    r1552 r1581  
    5656
    5757
    58   MatrixLookupWeighted::MatrixLookupWeighted(const utility::MatrixWeighted& m)
     58  MatrixLookupWeighted::MatrixLookupWeighted(const utility::MatrixWeighted& m,
     59                                             bool owner)
    5960    : column_index_(utility::Index(m.columns())),
    6061      row_index_(utility::Index(m.rows()))
    6162  {
     63    // Peter, remember to take care of ownership (but for now leave a leak)
     64
    6265    utility::Matrix* data = new utility::Matrix(m.rows(), m.columns());
    6366    utility::Matrix* weight = new utility::Matrix(m.rows(), m.columns());
Note: See TracChangeset for help on using the changeset viewer.