Changeset 1129 for trunk/yat/utility/Vector.cc
- Timestamp:
- Feb 23, 2008, 7:05:39 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/utility/Vector.cc
r1121 r1129 175 175 throw utility::GSL_error("Vector::create_gsl_vector_copy failed to allocate memory"); 176 176 if (gsl_vector_memcpy(vec, other.gsl_vector_p())) 177 throw utility::GSL_error("Vector::create_gsl_ matrix_copy dimension mis-match");177 throw utility::GSL_error("Vector::create_gsl_vector_copy memcpy failed"); 178 178 return vec; 179 179 } … … 199 199 const_vec_ = vec_ = gsl_vector_alloc(n); 200 200 if (!vec_) 201 throw utility::GSL_error("Vector:: Vectorfailed to allocate memory");201 throw utility::GSL_error("Vector::resize failed to allocate memory"); 202 202 all(init_value); 203 203 }
Note: See TracChangeset
for help on using the changeset viewer.