From a46adeb1b4009d2ba8fe561b7091b51bba200e00 Mon Sep 17 00:00:00 2001 From: Alex Cunningham Date: Tue, 26 Oct 2010 12:31:40 +0000 Subject: [PATCH] Library now compiles with --enable-lapack off --- gtsam/linear/NoiseModel.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gtsam/linear/NoiseModel.cpp b/gtsam/linear/NoiseModel.cpp index bd65cf57e..ad34be5f2 100644 --- a/gtsam/linear/NoiseModel.cpp +++ b/gtsam/linear/NoiseModel.cpp @@ -236,7 +236,9 @@ SharedDiagonal Gaussian::QRColumnWise(ublas::matrix #ifdef GT_USE_LAPACK householder_denseqr_colmajor(Ab, &firstZeroRows[0]); #else - householder(Ab, maxRank); + Matrix Ab_rowWise = Ab; + householder(Ab_rowWise, maxRank); + Ab = Ab_rowWise; // FIXME: this is a really silly way of doing this #endif return Unit::Create(maxRank);