Skip to content

Commit

Permalink
Drop pre 1.23 code
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed Dec 12, 2024
1 parent e7f45d2 commit 464688e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/src/SlicedInverseRegression.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,7 @@ void SlicedInverseRegression::run()
for(UnsignedInteger j = 0; j < inputDimension; ++ j)
Q(i, j) = inputSample_(i, j);
Matrix R;
#if OPENTURNS_VERSION >= 102300
Q.computeQRInPlace(R);
#else
Q.computeQR(R, false, false); // full, keepintact
#endif
Sample Z(size, inputDimension);
for (UnsignedInteger i = 0; i < size; ++ i)
for(UnsignedInteger j = 0; j < inputDimension; ++ j)
Expand All @@ -100,11 +96,7 @@ void SlicedInverseRegression::run()
}
SymmetricMatrix M((zMeans.transpose() * zMeans / size).getImplementation());
SquareMatrix eigenVectors;
#if OPENTURNS_VERSION >= 102300
const Point eigenValues = M.computeEVInPlace(eigenVectors);
#else
const Point eigenValues = M.computeEV(eigenVectors, false); // keepIntact
#endif
SquareMatrix eigenVectorsRev(inputDimension);
Point eigenValuesRev(inputDimension);
for(UnsignedInteger j = 0; j < inputDimension; ++ j)
Expand Down

0 comments on commit 464688e

Please sign in to comment.