Skip to content

Commit

Permalink
Update include/Spectra/MatOp/DenseSymMatProd.h
Browse files Browse the repository at this point in the history
Co-authored-by: Jens <[email protected]>
  • Loading branch information
v1kko and JensWehner committed Jul 2, 2020
1 parent 1667dc9 commit af98c11
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions include/Spectra/MatOp/DenseSymMatProd.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,7 @@ class DenseSymMatProd
///
Matrix operator*(const Matrix mat_in)
{
Matrix result;
result.noalias() = m_mat.template selfadjointView<Uplo>() * mat_in;
return result;
return m_mat.template selfadjointView<Uplo>() * mat_in;
}

///
Expand Down

0 comments on commit af98c11

Please sign in to comment.