Mercurial > octave
diff liboctave/numeric/sparse-chol.cc @ 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 | 40de9f8f23a6 |
children | ee1a009dd60f |
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.