changeset 6913:909ff071b028 octave-forge

Allow 'deriche' to be compiled with Octave 3.2.x
author hauberg
date Mon, 22 Mar 2010 19:57:45 +0000
parents e5254b105130
children a8d8baaba6e8
files main/image/src/deriche.cc
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/main/image/src/deriche.cc	Mon Mar 22 19:42:46 2010 +0000
+++ b/main/image/src/deriche.cc	Mon Mar 22 19:57:45 2010 +0000
@@ -1,5 +1,6 @@
  /* $Id$ */
- #include <octave/oct.h>
+#include <octave/oct.h>
+#include <octave/ArrayN.h>
  /****************************************************************************
   * (C)opyright Christian Kotz 2006
   * This code has no warranty whatsover. Do what you like with this code 
@@ -99,7 +100,7 @@
         return octave_value(b);     
      }
      case vecgrad:{
-        Array<double> b(dim_vector(h,w,2));
+        ArrayN<double> b(dim_vector(h,w,2));
         dericheVec(p.fortran_vec(), b.fortran_vec(), h, w, h, alpha);
         return octave_value(b);
      }