mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
introduce a new macro EIGEN_ARG_UNUSED(arg) and use it in some places to
silent some warnings (from clang)
This commit is contained in:
@@ -89,6 +89,10 @@ template<typename Derived> class TriangularBase : public EigenBase<Derived>
|
||||
|
||||
void check_coordinates(int row, int col)
|
||||
{
|
||||
#ifdef EIGEN_NO_DEBUG
|
||||
EIGEN_ARG_UNUSED(row);
|
||||
EIGEN_ARG_UNUSED(col);
|
||||
#endif
|
||||
ei_assert(col>=0 && col<cols() && row>=0 && row<rows());
|
||||
ei_assert( (Mode==Upper && col>=row)
|
||||
|| (Mode==Lower && col<=row)
|
||||
|
||||
Reference in New Issue
Block a user