diff --git a/mex/sources/estimation/libmat/QRDecomposition.cc b/mex/sources/estimation/libmat/QRDecomposition.cc index 2b353ef7d81fa4fa66420b24f606c44473f0dfb2..38e3a5f5718a90d667fa6b6356be34ef85d1eb77 100644 --- a/mex/sources/estimation/libmat/QRDecomposition.cc +++ b/mex/sources/estimation/libmat/QRDecomposition.cc @@ -23,7 +23,7 @@ QRDecomposition::QRDecomposition(size_t rows_arg, size_t cols_arg, size_t cols2_arg) : rows(rows_arg), cols(cols_arg), mind(std::min(rows, cols)), cols2(cols2_arg), - lwork(rows*cols), lwork2(cols2), H(rows), Q2(rows), v(rows) + lwork(rows*cols), lwork2(cols2) { work = new double[lwork]; work2 = new double[lwork2]; diff --git a/mex/sources/estimation/libmat/QRDecomposition.hh b/mex/sources/estimation/libmat/QRDecomposition.hh index 63c7c6a657cf931084d1b6b79c32fe572d73cc5b..f1236c285676aa8e2598c566e2f0040a400410dd 100644 --- a/mex/sources/estimation/libmat/QRDecomposition.hh +++ b/mex/sources/estimation/libmat/QRDecomposition.hh @@ -33,8 +33,6 @@ private: const size_t cols2; lapack_int lwork, lwork2; double *work, *work2, *tau; - Matrix H, Q2; - Vector v; public: /*! \todo Replace heuristic choice for workspace size by a query to determine the optimal size