mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-13 20:26:03 +08:00
oops bis, I forgot that SelfAdjointEigneSolver directly called the selector...
This commit is contained in:
parent
8abec72259
commit
6373c3cd00
@ -377,11 +377,8 @@ static void ei_tridiagonal_qr_step(RealScalar* diag, RealScalar* subdiag, int st
|
||||
// G only modifies the two columns k and k+1
|
||||
if (matrixQ)
|
||||
{
|
||||
#ifdef EIGEN_DEFAULT_TO_ROW_MAJOR
|
||||
ei_apply_rotation_in_the_plane_selector<Scalar,Dynamic>::run(matrixQ+k, matrixQ+k+1, n, c, s, n, n);
|
||||
#else
|
||||
ei_apply_rotation_in_the_plane_selector<Scalar,1>::run(matrixQ+k*n, matrixQ+k*n+n, n, c, s, 1, 1);
|
||||
#endif
|
||||
Map<Matrix<Scalar,Dynamic,Dynamic> > q(matrixQ,n,n);
|
||||
q.applyJacobiOnTheRight(k,k+1,c,s);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user