Skip to content
Snippets Groups Projects
Commit 21e77e9d authored by Christian Engwer's avatar Christian Engwer
Browse files

fix assertion

[[Imported from SVN: r6210]]
parent ab1e6bad
No related branches found
No related tags found
No related merge requests found
......@@ -1081,8 +1081,8 @@ namespace Dune
template <typename MAT, typename V1, typename V2>
static inline void multAssign(const DenseMatrix<MAT> &matrix, const DenseVector<V1> & x, DenseVector<V2> & ret)
{
assert(x.size() == matrix.rows());
assert(ret.size() == matrix.cols());
assert(x.size() == matrix.cols());
assert(ret.size() == matrix.rows());
typedef typename DenseMatrix<MAT>::size_type size_type;
for(size_type i=0; i<matrix.rows(); ++i)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment