Skip to content

Commit

Permalink
Fixed error on SparseMatrix dummy class.
Browse files Browse the repository at this point in the history
  • Loading branch information
odlomax committed Feb 12, 2024
1 parent fc64ae4 commit f9e1bec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ class SparseMatrix {

class RowIter {
public:
constexpr SparseMatrix() = default;
template <typename... Args>
constexpr RowIter(const Args&... args) {}
constexpr Index row() const { return Index{}; }
Expand All @@ -94,6 +93,7 @@ class SparseMatrix {
constexpr RowIter& operator++() { return *this; }
};

constexpr SparseMatrix() = default;
template <typename... Args>
SparseMatrix(const Args&... args) {
throw_Exception("Atlas has been compiled without Eigen", Here());
Expand Down

0 comments on commit f9e1bec

Please sign in to comment.