Mercurial > octave-libtiff
changeset 29260:18ad3c01fc2a
sparse-qr.cc: Fix compilation with CXSparse and SPQR (bug #57033).
* liboctave/numeric/sparse-qr.cc (sparse_qr_rep): Add necessary members when
compiling with CXSparse (independent of SPQR).
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Tue, 05 Jan 2021 14:10:15 +0100 |
parents | 66f162b6fa03 |
children | 7e378993e8fa |
files | liboctave/numeric/sparse-qr.cc |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/numeric/sparse-qr.cc Thu Jan 09 21:45:54 2020 +0100 +++ b/liboctave/numeric/sparse-qr.cc Tue Jan 05 14:10:15 2021 +0100 @@ -125,7 +125,9 @@ template <typename RHS_T, typename RET_T> RET_T solve (const RHS_T& b, octave_idx_type& info) const; -#elif defined (HAVE_CXSPARSE) +#endif + +#if defined (HAVE_CXSPARSE) typename cxsparse_types<SPARSE_T>::symbolic_type *S; typename cxsparse_types<SPARSE_T>::numeric_type *N;