Mercurial > hg > octave-lyh
changeset 4883:d7bad86d3416
[project @ 2004-04-27 15:46:58 by jwe]
author | jwe |
---|---|
date | Tue, 27 Apr 2004 15:47:10 +0000 |
parents | 7514d69b422a |
children | a9f67193e3a0 |
files | src/ChangeLog src/DLD-FUNCTIONS/sort.cc |
diffstat | 2 files changed, 10 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2004-04-27 David Bateman <dbateman@free.fr> + + * DLD-FUNCTIONS/sort.cc: Add missing "class" keywords to template + instantiations. + 2004-04-22 John W. Eaton <jwe@octave.org> * pt-plot.cc (Fclearplot): Temporarily turn off automatic_replot.
--- a/src/DLD-FUNCTIONS/sort.cc +++ b/src/DLD-FUNCTIONS/sort.cc @@ -68,8 +68,8 @@ return (a->vec < b->vec); } -template octave_sort<unsigned EIGHT_BYTE_INT>; -template octave_sort<vec_index *>; +template class octave_sort<unsigned EIGHT_BYTE_INT>; +template class octave_sort<vec_index *>; #else struct vec_index { @@ -89,8 +89,8 @@ return (xisnan(b->vec) || (a->vec < b->vec)); } -template octave_sort<double>; -template octave_sort<vec_index *>; +template class octave_sort<double>; +template class octave_sort<vec_index *>; #endif struct complex_vec_index @@ -105,7 +105,7 @@ return (xisnan(b->vec) || (abs(a->vec) < abs(b->vec))); } -template octave_sort<complex_vec_index *>; +template class octave_sort<complex_vec_index *>; static octave_value_list mx_sort (NDArray &m, bool return_idx, int dim)