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());