# HG changeset patch # User Jaroslav Hajek # Date 1204263677 -3600 # Node ID fa370e683fd7f598ba8dc0ded00e0c2782188588 # Parent b1ff001022af99d187832d01222c48c0b0a386dd workaround to enable compiling with Intel C++ 10.1 diff -r b1ff001022af -r fa370e683fd7 liboctave/Array-C.cc --- a/liboctave/Array-C.cc Thu Feb 28 03:07:10 2008 -0500 +++ b/liboctave/Array-C.cc Fri Feb 29 06:41:17 2008 +0100 @@ -31,7 +31,6 @@ along with Octave; see the file COPYING. #include "Array.h" #include "Array.cc" -#include "oct-sort.cc" static double xabs (const Complex& x) @@ -53,6 +52,7 @@ operator > (const Complex& a, const Comp || ((xabs (a) == xabs (b)) && (arg (a) > arg (b)))); } +#include "oct-sort.cc" template <> bool ascending_compare (Complex a, Complex b) diff -r b1ff001022af -r fa370e683fd7 liboctave/Sparse-C.cc --- a/liboctave/Sparse-C.cc Thu Feb 28 03:07:10 2008 -0500 +++ b/liboctave/Sparse-C.cc Fri Feb 29 06:41:17 2008 +0100 @@ -33,7 +33,6 @@ along with Octave; see the file COPYING. #include "Sparse.h" #include "Sparse.cc" -#include "oct-sort.cc" static double xabs (const Complex& x) @@ -55,6 +54,7 @@ operator > (const Complex& a, const Comp || ((xabs (a) == xabs (b)) && (arg (a) > arg (b)))); } +#include "oct-sort.cc" template <> bool sparse_ascending_compare (Complex a, Complex b)