# HG changeset patch # User John W. Eaton # Date 1269555559 14400 # Node ID c0c24219fccf650cf91dda14f48f46f20c925016 # Parent e6126483297acbcfcd2edd282fadf2fdb3962aaa eigs-base.cc: avoid warning about deprecated Array constructor diff -r e6126483297a -r c0c24219fccf liboctave/ChangeLog --- a/liboctave/ChangeLog Thu Mar 25 18:14:41 2010 -0400 +++ b/liboctave/ChangeLog Thu Mar 25 18:19:19 2010 -0400 @@ -1,3 +1,8 @@ +2010-03-25 John W. Eaton + + * eigs-base.cc (EigsComplexNonSymmetricFunc): Avoid warning + about deprecated Array constructor. + 2010-03-25 John W. Eaton * cmd-edit.cc, file-ops.cc, lo-math.h, lo-utils.cc, oct-env.cc, diff -r e6126483297a -r c0c24219fccf liboctave/eigs-base.cc --- a/liboctave/eigs-base.cc Thu Mar 25 18:14:41 2010 -0400 +++ b/liboctave/eigs-base.cc Thu Mar 25 18:19:19 2010 -0400 @@ -3554,7 +3554,7 @@ // long as the HOWMNY arg is not "S", the logical array // is just workspace for ARPACK, so use int type to // avoid problems. - Array s (p); + Array s (p, 1); octave_idx_type *sel = s.fortran_vec (); eig_vec.resize (n, k);