Skip to content
Snippets Groups Projects
Commit 828b7ac1 authored by Robert K's avatar Robert K
Browse files

Merge branch 'feature/remove-warnings' into feature/faster-ilu-implementation

parents cdfebf9c ede82b79
No related branches found
No related tags found
1 merge request!96[feature][SeqILU] faster implementation of ILU preconditioner
......@@ -83,6 +83,7 @@ namespace Dune
typename FieldTraits<typename T1::field_type>::real_type norm (const T1& x) const
{
assert(false && "this function should never be called");
return typename FieldTraits<typename T1::field_type>::real_type(0);
}
template<class T>
......
......@@ -146,7 +146,7 @@ namespace Dune {
*/
virtual field_type dot (const X& x, const X& y)
{
field_type result;
field_type result(0);
communication.dot(x,y,result);
return result;
}
......@@ -219,7 +219,7 @@ namespace Dune {
*/
virtual field_type dot (const X& x, const X& y)
{
field_type result;
field_type result(0);
communication.dot(x,y,result);
return result;
}
......
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