*** empty log message ***
This commit is contained in:
parent
a32b38d141
commit
8c522b6f3a
@ -881,7 +881,7 @@ void NRVec<T>::gemv(const T beta, const SparseMat<T> &a, const char trans, const
|
||||
{
|
||||
if((trans=='n'?a.ncols():a.nrows())!= (SPMatindex)x.size()) laerror("incompatible sizes in gemv");
|
||||
copyonwrite();
|
||||
if(beta!=(T)0) (*this) *= beta;
|
||||
if(beta!=(T)0) {if(beta!=(T)1) (*this) *= beta;}
|
||||
else memset(v,0,nn*sizeof(T));
|
||||
|
||||
bool transp = tolower(trans)!='n'; //not OK for complex
|
||||
|
Loading…
Reference in New Issue
Block a user