diff liboctave/dbleSVD.cc @ 11570:57632dea2446

attempt better backward compatibility for Array constructors
author John W. Eaton <jwe@octave.org>
date Wed, 19 Jan 2011 17:55:56 -0500
parents fd0a3ac60b0e
children a83bad07f7e3
line wrap: on
line diff
--- a/liboctave/dbleSVD.cc	Wed Jan 19 15:12:59 2011 -0500
+++ b/liboctave/dbleSVD.cc	Wed Jan 19 17:55:56 2011 -0500
@@ -146,7 +146,7 @@
 
   octave_idx_type lwork = -1;
 
-  Array<double> work (1, 1);
+  Array<double> work (dim_vector (1, 1));
 
   octave_idx_type one = 1;
   octave_idx_type m1 = std::max (m, one), nrow_vt1 = std::max (nrow_vt, one);