From b46e28ac00f14e695340bbf6608939145cf3b957 Mon Sep 17 00:00:00 2001
From: Simon Praetorius <simon.praetorius@tu-dresden.de>
Date: Wed, 30 Nov 2022 16:11:25 +0000
Subject: [PATCH] Merge branch 'issue/fill-sequential-information' into
 'master'

Implement functions in SequentialInformation

See merge request core/dune-istl!494

(cherry picked from commit be325ec005d0443e984ba992f7e4a7dcee58d100)

5325cd09 Implement functions in SequentialInformation
---
 dune/istl/paamg/pinfo.hh | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/dune/istl/paamg/pinfo.hh b/dune/istl/paamg/pinfo.hh
index 1d68d0d38..9b6f7fccc 100644
--- a/dune/istl/paamg/pinfo.hh
+++ b/dune/istl/paamg/pinfo.hh
@@ -71,17 +71,15 @@ namespace Dune
       {}
 
       template<class T1, class T2>
-      void dot (const T1&, const T1&, T2&) const
+      void dot (const T1& x, const T1& y, T2& result) const
       {
-        // This function should never be called
-        std::abort();
+        result = x.dot(y);
       }
 
       template<class T1>
-      typename FieldTraits<typename T1::field_type>::real_type norm (const T1&) const
+      typename FieldTraits<typename T1::field_type>::real_type norm (const T1& x) const
       {
-        // This function should never be called
-        std::abort();
+        return x.two_norm();
       }
 
       template<class T>
-- 
GitLab