Skip to content

Commit

Permalink
Tests: Fix parsing of Rows and Cols in CoeffUnaryOp.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Peschke committed Apr 22, 2024
1 parent 2bc80a5 commit da7c9e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Math/include/Math/CoeffUnaryOp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ class CoeffUnaryOp : public MatrixBase<CoeffUnaryOp<XprType_, ReturnScalar>>
public:
using XprType = XprType_;
using Scalar = ReturnScalar;
static constexpr std::size_t Rows = XprType::Rows_;
static constexpr std::size_t Cols = XprType::Cols_;
static constexpr std::size_t Rows = XprType::Rows;
static constexpr std::size_t Cols = XprType::Cols;

CoeffUnaryOp(const XprType& xpr, const std::function<ReturnScalar(typename XprType::Scalar)>& coeff_func)
: m_refexpr(xpr)
Expand Down

0 comments on commit da7c9e9

Please sign in to comment.