Ignore:
Timestamp:
Feb 2, 2008, 10:29:29 PM (14 years ago)
Author:
Peter
Message:

going back to previous design in which view and const_view are in different classes. Having them in same didnt work as expected. There is a problem converting vector::iterator to vector::const_iterator. I'll open a separate ticket for this issue.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/PCA.cc

    r1015 r1027  
    193193    utility::vector A_row_sum(A_.rows());
    194194    for (size_t i=0; i<A_row_sum.size(); ++i){
    195       const VectorView tmp(A_.row_vec(i));
     195      const VectorConstView tmp(A_.row_const_vec(i));
    196196      A_row_sum(i) = sum(tmp);
    197197    }
Note: See TracChangeset for help on using the changeset viewer.