mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-15 07:10:37 +08:00
more MSVC fixes: restrict keywords (sorry for all these commits)
This commit is contained in:
parent
718af05517
commit
dcf49e5a28
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user