*** empty log message ***
This commit is contained in:
parent
363a20d147
commit
5fdedd3915
2
vec.h
2
vec.h
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user