Mercurial > octave
changeset 21324:5169d5993d77
sparse-chol.cc: Fix minor syntax error to compile with older gcc
* sparse-chol.cc (sparse_chol<SparseComplexMatrix>::sparse_chol): Remove
unnecessary "typename" keyword in explicit template declaration, fails to
compile with older versions of gcc.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Tue, 23 Feb 2016 13:10:19 -0800 |
parents | 030d4d6c2b58 |
children | 64be7d374f86 |
files | liboctave/numeric/sparse-chol.cc |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/numeric/sparse-chol.cc Tue Feb 23 14:11:34 2016 -0800 +++ b/liboctave/numeric/sparse-chol.cc Tue Feb 23 13:10:19 2016 -0800 @@ -561,8 +561,8 @@ template <> sparse_chol<SparseComplexMatrix>::sparse_chol (const SparseComplexMatrix& a, octave_idx_type& info) - : rep (new typename - sparse_chol<SparseComplexMatrix>::sparse_chol_rep (a, info, true, false)) + : rep ( + new sparse_chol<SparseComplexMatrix>::sparse_chol_rep (a, info, true, false)) { } // Instantiations we need.