Ignore:
Timestamp:
Nov 2, 2013, 3:19:30 AM (8 years ago)
Author:
Peter
Message:

avoid code duplication

File:
1 edited

Legend:

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

    r2992 r3102  
    4747    : VectorMutable()
    4848  {
    49     view_ = new gsl_vector_view(gsl_vector_subvector(other.gsl_vector_p(),
    50                                                      0, other.size()));
    51     const_vec_ = vec_ = &(view_->vector);
    52 
     49    copy(other.gsl_vector_p());
    5350  }
    5451
Note: See TracChangeset for help on using the changeset viewer.