From dbd12b4cda13b617b58e9ea1b4a505e1ab3acf2f Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 21 Apr 2015 10:15:36 +0200 Subject: [PATCH] Make sure that BlockImpl ctor is called with the right type --- Eigen/src/SparseCore/SparseBlock.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Eigen/src/SparseCore/SparseBlock.h b/Eigen/src/SparseCore/SparseBlock.h index 778939791..b41e8f15d 100644 --- a/Eigen/src/SparseCore/SparseBlock.h +++ b/Eigen/src/SparseCore/SparseBlock.h @@ -285,6 +285,9 @@ public: {} using Base::operator=; +private: + template BlockImpl(const SparseMatrixBase& xpr, Index i); + template BlockImpl(const SparseMatrixBase& xpr); }; //----------