From f9e1bec291f2faea365450cfaa8616447a22c9f1 Mon Sep 17 00:00:00 2001 From: odlomax Date: Mon, 12 Feb 2024 14:59:05 +0000 Subject: [PATCH] Fixed error on SparseMatrix dummy class. --- src/atlas/interpolation/method/sphericalvector/SparseMatrix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/atlas/interpolation/method/sphericalvector/SparseMatrix.h b/src/atlas/interpolation/method/sphericalvector/SparseMatrix.h index c836d38a9..eace5c835 100644 --- a/src/atlas/interpolation/method/sphericalvector/SparseMatrix.h +++ b/src/atlas/interpolation/method/sphericalvector/SparseMatrix.h @@ -84,7 +84,6 @@ class SparseMatrix { class RowIter { public: - constexpr SparseMatrix() = default; template constexpr RowIter(const Args&... args) {} constexpr Index row() const { return Index{}; } @@ -94,6 +93,7 @@ class SparseMatrix { constexpr RowIter& operator++() { return *this; } }; + constexpr SparseMatrix() = default; template SparseMatrix(const Args&... args) { throw_Exception("Atlas has been compiled without Eigen", Here());