changeset 531:bbb489cdc61a

graycomatrix: removed deprecated syntax in octave 3.4.3 to avoid warning at compilation time
author carandraug
date Fri, 16 Dec 2011 23:21:53 +0000
parents 77e1b1012b28
children e6a33577508f
files src/graycomatrix.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/graycomatrix.cc
+++ b/src/graycomatrix.cc
@@ -95,7 +95,7 @@
                         int j = (int)I(row, col);
 
                         if (i >= 0 && i < L && j >= 0 && j < L) {
-                            Array<int> coord (4, 1);
+                            Array<int> coord (dim_vector (4, 1), 0);
                             coord (0, 0) = i;
                             coord (1, 0) = j;
                             coord (2, 0) = d_idx;