Ignore:
Timestamp:
Mar 24, 2010, 3:40:02 PM (13 years ago)
Author:
Peter
Message:

remove usage of deprecated constructors also in templates and tests. (refs #543)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/matrix_lookup_test.cc

    r2161 r2226  
    8888         << "                           const bool)...";
    8989  std::vector<size_t> one(1,1);
    90   classifier::MatrixLookup m3(gsl_m2,utility::Index(one),true);
     90  classifier::MatrixLookup m3(gsl_m2,utility::Index(one),
     91                              utility::Index(gsl_m2.columns()));
    9192  if (m3.rows()!=1 || m3.columns()!=gsl_m2.columns() || m3(0,0)!=gsl_m2(1,0) ||
    9293      m3(0,1)!=gsl_m2(1,1) || m3(0,2)!=gsl_m2(1,2) || m3(0,3)!=gsl_m2(1,3)) {
Note: See TracChangeset for help on using the changeset viewer.