Mercurial > hg > octave-image
changeset 411:ba2c2f9bbe99
Allow 'deriche' to be compiled with Octave 3.2.x
author | hauberg |
---|---|
date | Mon, 22 Mar 2010 19:57:45 +0000 |
parents | fb0304c26aa9 |
children | e63f3912c7d2 |
files | src/deriche.cc |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/deriche.cc +++ b/src/deriche.cc @@ -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); }