changeset 413:c56e2c046128

Use NDArray instead ArrayN<double> as this works with both 3.2.x and 3.3.x
author hauberg
date Tue, 23 Mar 2010 01:02:30 +0000
parents e63f3912c7d2
children ff677dc40e29
files src/deriche.cc
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/deriche.cc
+++ b/src/deriche.cc
@@ -1,6 +1,5 @@
  /* $Id$ */
 #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 
@@ -100,7 +99,7 @@
         return octave_value(b);     
      }
      case vecgrad:{
-        ArrayN<double> b(dim_vector(h,w,2));
+        NDArray b(dim_vector(h,w,2));
         dericheVec(p.fortran_vec(), b.fortran_vec(), h, w, h, alpha);
         return octave_value(b);
      }