*** empty log message ***

This commit is contained in:
jiri
2007-11-29 13:52:31 +00:00
parent ebedb9eecc
commit 3580715b32
2 changed files with 5 additions and 1 deletions

View File

@@ -253,7 +253,7 @@ return r;
template<class M, class V>
void exptimesdestructive(const M &mat, V &result, V &rhs, bool transpose=false, const double scale=1., int maxpower= -1, int maxtaylor= -1, bool mat_is_0=false) //uses just matrix vector multiplication
{
if(mat_is_0) {result=rhs; return;}
if(mat_is_0) {result = rhs; LA_traits<V>::copyonwrite(result); return;} //prevent returning a shallow copy of rhs
if(mat.nrows()!=mat.ncols()||(unsigned int) mat.nrows() != (unsigned int)rhs.size()) laerror("inappropriate sizes in exptimes");
int power;