comparison liboctave/Sparse-d.cc @ 7470:ada435261879

eliminate unnecessary explicit template instantiations
author John W. Eaton <jwe@octave.org>
date Tue, 12 Feb 2008 15:44:42 -0500
parents 402168152bb9
children 06b9903a029b
comparison
equal deleted inserted replaced
7469:360b4f7684fd 7470:ada435261879
58 sparse_descending_compare (vec_index<double> *a, vec_index<double> *b) 58 sparse_descending_compare (vec_index<double> *a, vec_index<double> *b)
59 { 59 {
60 return (xisnan (b->vec) || (a->vec > b->vec)); 60 return (xisnan (b->vec) || (a->vec > b->vec));
61 } 61 }
62 62
63 INSTANTIATE_SPARSE_SORT (double);
64
65 INSTANTIATE_SPARSE_AND_ASSIGN (double, OCTAVE_API); 63 INSTANTIATE_SPARSE_AND_ASSIGN (double, OCTAVE_API);
66 64
67 #if 0 65 #if 0
68 template std::ostream& operator << (std::ostream&, const Sparse<double>&); 66 template std::ostream& operator << (std::ostream&, const Sparse<double>&);
69 #endif 67 #endif