mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-01 16:24:28 +08:00
Make sure that BlockImpl<const SparseMatrix> ctor is called with the right type
This commit is contained in:
parent
d6a8b43b39
commit
dbd12b4cda
@ -285,6 +285,9 @@ public:
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
using Base::operator=;
|
using Base::operator=;
|
||||||
|
private:
|
||||||
|
template<typename Derived> BlockImpl(const SparseMatrixBase<Derived>& xpr, Index i);
|
||||||
|
template<typename Derived> BlockImpl(const SparseMatrixBase<Derived>& xpr);
|
||||||
};
|
};
|
||||||
|
|
||||||
//----------
|
//----------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user