more MSVC fixes: restrict keywords (sorry for all these commits)

This commit is contained in:
Gael Guennebaud 2009-03-17 13:32:26 +00:00
parent 718af05517
commit dcf49e5a28

View File

@ -67,8 +67,8 @@ static EIGEN_DONT_INLINE void ei_product_selfadjoint_vector(
for (int j=FirstTriangular ? bound : 0;
j<(FirstTriangular ? size : bound);j+=2)
{
register const Scalar* __restrict__ A0 = lhs + j*lhsStride;
register const Scalar* __restrict__ A1 = lhs + (j+1)*lhsStride;
register const Scalar* EIGEN_RESTRICT A0 = lhs + j*lhsStride;
register const Scalar* EIGEN_RESTRICT A1 = lhs + (j+1)*lhsStride;
Scalar t0 = rhs[j];
Packet ptmp0 = ei_pset1(t0);
@ -129,7 +129,7 @@ static EIGEN_DONT_INLINE void ei_product_selfadjoint_vector(
}
for (int j=FirstTriangular ? 0 : bound;j<(FirstTriangular ? bound : size);j++)
{
register const Scalar* __restrict__ A0 = lhs + j*lhsStride;
register const Scalar* EIGEN_RESTRICT A0 = lhs + j*lhsStride;
Scalar t1 = rhs[j];
Scalar t2 = 0;