mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-09 22:51:51 +08:00
Make conversion from 0 to Scalar explicit (issue reported by Brad Bell)
This commit is contained in:
parent
71590d0ac7
commit
b03209a7a6
@ -69,7 +69,7 @@ struct sparse_solve_triangular_selector<Lhs,Rhs,Mode,Upper,RowMajor>
|
|||||||
for(int i=lhs.rows()-1 ; i>=0 ; --i)
|
for(int 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);
|
||||||
typename Lhs::InnerIterator it(lhs, i);
|
typename Lhs::InnerIterator it(lhs, i);
|
||||||
while(it && it.index()<i)
|
while(it && it.index()<i)
|
||||||
++it;
|
++it;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user