Changeset 3104
- Timestamp:
- Nov 2, 2013, 3:42:56 AM (9 years ago)
- Location:
- trunk/yat/utility
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/utility/VectorConstView.cc
r2992 r3104 78 78 void VectorConstView::copy(const VectorBase& other) 79 79 { 80 if (!other.gsl_vector_p()) // nothing to do 81 return; 80 82 const_view_ = 81 83 new gsl_vector_const_view(gsl_vector_const_subvector(other.gsl_vector_p(), -
trunk/yat/utility/VectorView.cc
r3102 r3104 106 106 void VectorView::copy(gsl_vector* other ) 107 107 { 108 if (!other) // nothing to do 109 return; 108 110 view_ = new gsl_vector_view(gsl_vector_subvector(other,0,other->size)); 109 111 const_vec_ = vec_ = &(view_->vector);
Note: See TracChangeset
for help on using the changeset viewer.