diff src/debug.cc @ 13784:0bbe319bf26b

octave_class::size: return matrix with correct dimensions * ov-class.cc (octave_class::size): Call dim_vector::length, not dim_vector::numel to determine the number of dimensions stored in the dimension vector.
author John W. Eaton <jwe@octave.org>
date Tue, 01 Nov 2011 19:57:38 -0400
parents b68d95054947
children 7dd7cccf0757
line wrap: on
line diff
--- a/src/debug.cc
+++ b/src/debug.cc
@@ -929,7 +929,7 @@
 // interpreter is currently executing when the debugger is stopped in
 // some C++ function, for example.
 
-static void
+void
 show_octave_dbstack (void)
 {
   do_dbstack (octave_value_list (), 0, std::cerr);