mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 03:39:01 +08:00
fix hemm to not use the imaginary part of the diagonal entries
This commit is contained in:
parent
cbd6fe323c
commit
2d78023815
@ -136,7 +136,7 @@ struct ei_symm_pack_rhs
|
|||||||
for (Index w=0 ; w<h; ++w)
|
for (Index w=0 ; w<h; ++w)
|
||||||
blockB[count+w] = alpha*rhs(k,j2+w);
|
blockB[count+w] = alpha*rhs(k,j2+w);
|
||||||
|
|
||||||
blockB[count+h] = alpha*rhs(k,k);
|
blockB[count+h] = alpha*ei_real(rhs(k,k));
|
||||||
|
|
||||||
// transpose
|
// transpose
|
||||||
for (Index w=h+1 ; w<nr; ++w)
|
for (Index w=h+1 ; w<nr; ++w)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user