diff src/graphics.cc @ 8233:beaf723a49eb

graphics.cc (base_properties::remove_child): handle children as a column vector instead of a row vector
author John W. Eaton <jwe@octave.org>
date Thu, 16 Oct 2008 16:49:28 -0400
parents 53dbbd331498
children 8c4e79668a5e
line wrap: on
line diff
--- a/src/graphics.cc	Thu Oct 16 16:23:14 2008 -0400
+++ b/src/graphics.cc	Thu Oct 16 16:49:28 2008 -0400
@@ -1666,7 +1666,7 @@
 
   if (k >= 0)
     {
-      Matrix new_kids (1, n-1);
+      Matrix new_kids (n-1, 1);
       octave_idx_type j = 0;
       for (octave_idx_type i = 0; i < n; i++)
 	{