# HG changeset patch # User David Grundberg # Date 1226350820 -3600 # Node ID ae09a25b1206d29c2df7d35377280c7d440b13b2 # Parent 1b8ccabfa2967ba7439a06daf8daa0ad55bda899 Fix g++ compile error on ubuntu 8.10 diff -r 1b8ccabfa296 -r ae09a25b1206 ChangeLog --- a/ChangeLog Thu Oct 23 20:47:12 2008 +0200 +++ b/ChangeLog Mon Nov 10 22:00:20 2008 +0100 @@ -1,3 +1,8 @@ +2008-11-10 David Grundberg + + * octave_to_python.cc: Remove static storage class on explicitely + specialized templates. + 2008-10-23 David Grundberg * pytave.cc: Use octave_main() to initialize Octave. Introduces diff -r 1b8ccabfa296 -r ae09a25b1206 octave_to_python.cc --- a/octave_to_python.cc Thu Oct 23 20:47:12 2008 +0200 +++ b/octave_to_python.cc Mon Nov 10 22:00:20 2008 +0100 @@ -71,7 +71,7 @@ } template <> - static void copy_octarray_to_pyarrobj( + void copy_octarray_to_pyarrobj( PyArrayObject *pyarr, const NDArray &matrix, const unsigned int matindex, @@ -100,7 +100,7 @@ #ifdef PYTAVE_USE_OCTAVE_FLOATS template <> - static void copy_octarray_to_pyarrobj( + void copy_octarray_to_pyarrobj( PyArrayObject *pyarr, const FloatNDArray &matrix, const unsigned int matindex,