diff options
Diffstat (limited to 'src/Core/MatrixBase.h')
-rw-r--r-- | src/Core/MatrixBase.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Core/MatrixBase.h b/src/Core/MatrixBase.h index e1ee000d8..b2eebe791 100644 --- a/src/Core/MatrixBase.h +++ b/src/Core/MatrixBase.h @@ -95,8 +95,9 @@ template<typename Scalar, typename Derived> class MatrixBase diagonal(const OtherDerived& coeffs); DiagonalCoeffs<Derived> diagonal() const; - static Map<Derived> - map(const Scalar* array, int rows = RowsAtCompileTime, int cols = ColsAtCompileTime); + static Map<Derived> map(const Scalar* array, int rows, int cols); + static Map<Derived> map(const Scalar* array, int size); + static Map<Derived> map(const Scalar* array); template<typename OtherDerived> bool isApprox( |