diff src/TEMPLATE-INST/Array-tc.cc @ 8732:a669df7beb73

[mq]: x
author John W. Eaton <jwe@octave.org>
date Thu, 12 Feb 2009 14:37:43 -0500
parents 474f64ab905f
children eb63fbe60fab
line wrap: on
line diff
--- a/src/TEMPLATE-INST/Array-tc.cc
+++ b/src/TEMPLATE-INST/Array-tc.cc
@@ -35,31 +35,11 @@
 #include "ArrayN.h"
 #include "ArrayN.cc"
 
-#include "DiagArray2.h"
-#include "DiagArray2.cc"
-
 #include "oct-obj.h"
 
 #include "oct-sort.cc"
 
-// FIXME -- these comparisons don't look right.  Where do we sort
-// octave_value objects and expect them to be character strings?
-
-template <>
-bool
-octave_sort<octave_value>::ascending_compare (const octave_value& a, const octave_value& b)
-{
-  return (a.string_value () < b.string_value ());
-}
-
-template <>
-bool
-octave_sort<octave_value>::descending_compare (const octave_value& a, const octave_value& b)
-{
-  return (a.string_value () > b.string_value ());
-}
-
-INSTANTIATE_ARRAY_SORT (octave_value);
+NO_INSTANTIATE_ARRAY_SORT (octave_value);
 
 INSTANTIATE_ARRAY (octave_value, OCTINTERP_API);