Mercurial > octave
view .gitignore @ 20653:c16947991354
avoid fixed-size buffers in index exception code
* lo-array-gripes.h, lo-array-gripes.cc (index_exception::expression):
Use std::ostringstream instead of fixed size buffer.
(gripe_invalid_index): Likewise.
(out_of_range::details): Likewise.
(index_exception::index_exception): Set default dim value to -1.
* ov-complex.h, ov-complex.cc (gripe_complex_index): Now static.
Pass arg by const reference instead of value. Use std::ostringstream
instead of fixed size buffer.
(octave_complex::index_vector): Move definition out of header file.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 22 Oct 2015 12:48:49 -0400 |
parents | 5758e0013246 |
children |