Skip to content
Snippets Groups Projects
Commit c852187b authored by Tobias Malkmus's avatar Tobias Malkmus Committed by Christian Engwer
Browse files

[densematrix] replace -> by (* )

IteratorFacades::Pointer is assumed to be T* which is not the case for row_reference != row_type&.
parent c1a568a6
No related branches found
No related tags found
No related merge requests found
......@@ -580,9 +580,9 @@ namespace Dune
return 0.0;
ConstIterator it = begin();
typename remove_const< typename FieldTraits<value_type>::real_type >::type max = it->one_norm();
typename remove_const< typename FieldTraits<value_type>::real_type >::type max = (*it).one_norm();
for (it = it + 1; it != end(); ++it)
max = std::max(max, it->one_norm());
max = std::max(max, (*it).one_norm());
return max;
}
......@@ -594,9 +594,9 @@ namespace Dune
return 0.0;
ConstIterator it = begin();
typename remove_const< typename FieldTraits<value_type>::real_type >::type max = it->one_norm_real();
typename remove_const< typename FieldTraits<value_type>::real_type >::type max = (*it).one_norm_real();
for (it = it + 1; it != end(); ++it)
max = std::max(max, it->one_norm_real());
max = std::max(max, (*it).one_norm_real());
return max;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment