Mercurial > hg > octave-nkf
changeset 10609:58bcda68ac11
improve warning/error message
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 06 May 2010 08:02:07 -0400 |
parents | f9860b622680 |
children | f5f6bde82e19 |
files | src/ChangeLog src/ov-range.cc |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2010-05-06 John W. Eaton <jwe@octave.org> + + * ov-range.cc (octave_range::index_vector): + Improve warning/error message. + 2010-05-06 Jaroslav Hajek <highegg@gmail.com> * DLD-FUNCTIONS/sqrtm.cc (sqrtm_utri_inplace, do_sqrtm): New helper
--- a/src/ov-range.cc +++ b/src/ov-range.cc @@ -156,7 +156,7 @@ else { warning_with_id ("Octave:allow-noninteger-ranges-as-indices", - "rounding non-integer range used as index to nearest integer"); + "non-integer range used as index"); return octave_value (matrix_value ()).round ().index_vector (); }