diff --git a/vec.h b/vec.h index 16f9597..3d3b71c 100644 --- a/vec.h +++ b/vec.h @@ -2361,7 +2361,7 @@ void NRVec::storesubvector_to(const NRVec &selection, NRVec &rhs) const { int ii=selection[i]; #ifdef DEBUG - if(ii<0||ii>=rhs.nn) laerror("bad index in storesubvector"); + if(ii<0||ii>=rhs.nn) laerror("bad index in storesubvector_to"); #endif rhs[ii] = (*this)[i]; }