Fix 'Incorrect reference code in STL_interface.hh for ata_product' eigen/isses/2425

(cherry picked from commit 798fc1c577fea1b75e511ec63a72237d9122b358)
This commit is contained in:
Rohan Ghige 2022-05-18 14:42:57 +00:00 committed by Antonio Sanchez
parent af912a7b5c
commit 5cb7505a44

View File

@ -84,9 +84,12 @@ public :
for (int j=0;j<N;j++){
for (int i=0;i<N;i++){
somme=0.0;
if(i>=j)
{
for (int k=0;k<N;k++)
somme += A[i][k]*A[j][k];
X[j][i]=somme;
}
}
}
}