From a7e7e31de9a1ba730f7820a44f569aada366ceb9 Mon Sep 17 00:00:00 2001 From: Ricardo Fabbri Date: Tue, 24 Oct 2023 03:50:58 -0300 Subject: [PATCH] [Trifocal+P2Pt] restrict refs --- minus/minus.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/minus/minus.hxx b/minus/minus.hxx index c676c4a..9c7d099 100644 --- a/minus/minus.hxx +++ b/minus/minus.hxx @@ -18,12 +18,12 @@ using namespace Eigen; // only used for linear solve // TODO: parameters restrict template -__attribute__((always_inline)) void +__attribute__((always_inline)) inline void minus_core:: lsolve( - Map, f::nve, f::nve>,Aligned> &matrix, - Map, f::nve, 1>, Aligned > &b, - Map, f::nve, 1>,Aligned> &x) + Map, f::nve, f::nve>,Aligned> & __restrict matrix, + Map, f::nve, 1>, Aligned > & __restrict b, + Map, f::nve, 1>,Aligned> & __restrict x) { typedef Matrix, f::nve, f::nve> MatrixType; typedef PermutationMatrix PermutationType;