# HG changeset patch # User jwe # Date 1069302955 0 # Node ID fad289f3df7320f12448a992b11a010bb67b4c5a # Parent f2cd320cbf6e5deae9f684416613a94eaa6ea221 [project @ 2003-11-20 04:35:55 by jwe] diff --git a/liboctave/ChangeLog b/liboctave/ChangeLog --- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -1,5 +1,7 @@ 2003-11-19 John W. Eaton + * str-vec.cc (list_in_columns): Fix previous change. + * dim-vector.h (dim_vector::num_ones): New function. * Array.cc (maybe_delete_elements): Use it instead of num_ones (const Array&). diff --git a/liboctave/str-vec.cc b/liboctave/str-vec.cc --- a/liboctave/str-vec.cc +++ b/liboctave/str-vec.cc @@ -186,7 +186,7 @@ nc = total_names / nr + (total_names % nr != 0); int count; - for (int row = 0; nr < nr; row++) + for (int row = 0; row < nr; row++) { count = row; int pos = 0;