Mercurial > octave
changeset 21215:04866fac690a
use template keyword to handle dependent template names
* sparse-qr.cc (sparse_qr<SPARSE_T>::tall_solve): Use template keyword
to treat tall_solve as a dependent template name.
(sparse_qr<SPARSE_T>::wide_solve): Likewise, for wide_solve.
author | Ben Abbott <bpabbott@mac.comg> |
---|---|
date | Sun, 07 Feb 2016 02:21:37 -0500 |
parents | 7be1f58f9dd7 |
children | b7a191eb0c3c |
files | liboctave/numeric/sparse-qr.cc |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/numeric/sparse-qr.cc Sun Feb 07 02:03:58 2016 -0500 +++ b/liboctave/numeric/sparse-qr.cc Sun Feb 07 02:21:37 2016 -0500 @@ -2190,7 +2190,7 @@ RET_T sparse_qr<SPARSE_T>::tall_solve (const RHS_T& b, octave_idx_type& info) const { - return rep->tall_solve<RHS_T, RET_T> (b, info); + return rep->template tall_solve<RHS_T, RET_T> (b, info); } template <typename SPARSE_T> @@ -2198,7 +2198,7 @@ RET_T sparse_qr<SPARSE_T>::wide_solve (const RHS_T& b, octave_idx_type& info) const { - return rep->wide_solve<RHS_T, RET_T> (b, info); + return rep->template wide_solve<RHS_T, RET_T> (b, info); } Matrix