# HG changeset patch # User hauberg # Date 1269287865 0 # Node ID ba2c2f9bbe992891205da3ce3f9e32bd78c24c48 # Parent fb0304c26aa97faf442104bc541e0a03a053c6e7 Allow 'deriche' to be compiled with Octave 3.2.x diff --git a/src/deriche.cc b/src/deriche.cc --- a/src/deriche.cc +++ b/src/deriche.cc @@ -1,5 +1,6 @@ /* $Id$ */ - #include +#include +#include /**************************************************************************** * (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 b(dim_vector(h,w,2)); + ArrayN b(dim_vector(h,w,2)); dericheVec(p.fortran_vec(), b.fortran_vec(), h, w, h, alpha); return octave_value(b); }