diff options
author | Gael Guennebaud <g.gael@free.fr> | 2008-08-19 11:06:40 +0000 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2008-08-19 11:06:40 +0000 |
commit | a6d387a359354c8f75f9a0dfe623600e6a303c8c (patch) | |
tree | 1244e7a577402f86233b5d2e72e50562a3eb3c13 /Eigen/src/QR | |
parent | 9466e5f94edbff1219cd48639fd0ef80e11b85a9 (diff) |
Various compilation fixes for MSVC 9. All tests compile but some
still fail at runtime in ei_aligned_free() (even without vectorization).
Diffstat (limited to 'Eigen/src/QR')
-rwxr-xr-x | Eigen/src/QR/Tridiagonalization.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/QR/Tridiagonalization.h b/Eigen/src/QR/Tridiagonalization.h index 765a87130..c0e70d08f 100755 --- a/Eigen/src/QR/Tridiagonalization.h +++ b/Eigen/src/QR/Tridiagonalization.h @@ -285,8 +285,8 @@ void Tridiagonalization<MatrixType>::_compute(MatrixType& matA, CoeffVectorType& hCoeffs.end(n-i-1) += (h * Scalar(-0.5) * matA.col(i).end(n-i-1).dot(hCoeffs.end(n-i-1))) * matA.col(i).end(n-i-1); - const Scalar* __restrict__ pb = &matA.coeffRef(0,i); - const Scalar* __restrict__ pa = (&hCoeffs.coeffRef(0)) - 1; + const Scalar* EIGEN_RESTRICT pb = &matA.coeffRef(0,i); + const Scalar* EIGEN_RESTRICT pa = (&hCoeffs.coeffRef(0)) - 1; for (int j1=i+1; j1<n; ++j1) { int starti = i+1; |