mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 03:39:01 +08:00
Make conversion from 0 to Scalar explicit (issue reported by Brad Bell)
This commit is contained in:
parent
5401fbcc50
commit
761691f18d
@ -75,7 +75,7 @@ struct sparse_solve_triangular_selector<Lhs,Rhs,Mode,Upper,RowMajor>
|
|||||||
for(Index i=lhs.rows()-1 ; i>=0 ; --i)
|
for(Index i=lhs.rows()-1 ; i>=0 ; --i)
|
||||||
{
|
{
|
||||||
Scalar tmp = other.coeff(i,col);
|
Scalar tmp = other.coeff(i,col);
|
||||||
Scalar l_ii = 0;
|
Scalar l_ii(0);
|
||||||
LhsIterator it(lhsEval, i);
|
LhsIterator it(lhsEval, i);
|
||||||
while(it && it.index()<i)
|
while(it && it.index()<i)
|
||||||
++it;
|
++it;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user