Ignore:
Timestamp:
Feb 18, 2008, 4:13:53 AM (14 years ago)
Author:
Jari Häkkinen
Message:

Fixes #299. Memory leak in matrix was found and removed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/regression/MultiDimensionalWeighted.cc

    r1022 r1098  
    5858    assert(x.rows()==y.size());
    5959
    60     covariance_.clone(utility::matrix(x.columns(),x.columns()));
     60    covariance_.resize(x.columns(),x.columns());
    6161    fit_parameters_ = utility::vector(x.columns());
    6262    if (work_)
Note: See TracChangeset for help on using the changeset viewer.