Ignore:
Timestamp:
Mar 11, 2007, 1:14:24 AM (15 years ago)
Author:
Jari Häkkinen
Message:

Addresses #193. matrix now works as outlined in the ticket
discussion. Added support for const views. Added a clone function that
facilitates resizing of matrices. clone is needed since assignement
operator functionality is changed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/alignment_test.cc

    r680 r792  
    7878             std::vector<std::pair<size_t,size_t> >& path)
    7979{
    80   dot_matrix  = theplu::yat::utility::matrix(l1.size(),l2.size());
     80  dot_matrix.clone(theplu::yat::utility::matrix(l1.size(),l2.size()));
    8181  for (size_t i=0; i<l1.size(); i++)
    8282    for (size_t j=0; j<l2.size(); j++) {
Note: See TracChangeset for help on using the changeset viewer.