*** empty log message ***

This commit is contained in:
jiri 2006-09-16 21:05:50 +00:00
parent 363a20d147
commit 5fdedd3915

2
vec.h
View File

@ -213,7 +213,7 @@ template<>
inline NRVec<double> & NRVec<double>::operator-=(const double &a) inline NRVec<double> & NRVec<double>::operator-=(const double &a)
{ {
copyonwrite(); copyonwrite();
cblas_daxpy(nn, 1.0, &a, 0, v, 1); cblas_daxpy(nn, -1.0, &a, 0, v, 1);
return *this; return *this;
} }