vec.h cosmetic fix
This commit is contained in:
1 parent
b38bd343f4
commit
0900678e5c
1 file changed
+1
-1
@@ -2361,7 +2361,7 @@ void NRVec<T>::storesubvector_to(const NRVec<int> &selection, NRVec &rhs) const
|
|||||||
{
|
{
|
||||||
int ii=selection[i];
|
int ii=selection[i];
|
||||||
#ifdef DEBUG
|
#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
|
#endif
|
||||||
rhs[ii] = (*this)[i];
|
rhs[ii] = (*this)[i];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user