mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
bug fix in SparseSelfAdjointTimeDenseProduct for empty rows or columns
This commit is contained in:
@@ -556,24 +556,15 @@ class SparseMatrix
|
||||
#ifndef EIGEN_PARSED_BY_DOXYGEN
|
||||
template<typename Lhs, typename Rhs>
|
||||
inline SparseMatrix& operator=(const SparseSparseProduct<Lhs,Rhs>& product)
|
||||
{
|
||||
initAssignment(product);
|
||||
return Base::operator=(product);
|
||||
}
|
||||
{ return Base::operator=(product); }
|
||||
|
||||
template<typename OtherDerived>
|
||||
inline SparseMatrix& operator=(const ReturnByValue<OtherDerived>& other)
|
||||
{
|
||||
initAssignment(other.derived());
|
||||
return Base::operator=(other.derived());
|
||||
}
|
||||
{ return Base::operator=(other.derived()); }
|
||||
|
||||
template<typename OtherDerived>
|
||||
inline SparseMatrix& operator=(const EigenBase<OtherDerived>& other)
|
||||
{
|
||||
initAssignment(other.derived());
|
||||
return Base::operator=(other.derived());
|
||||
}
|
||||
{ return Base::operator=(other.derived()); }
|
||||
#endif
|
||||
|
||||
template<typename OtherDerived>
|
||||
|
||||
Reference in New Issue
Block a user