Mercurial > hg > octave-avbm
changeset 9699:d896036d975b
additional octave_value character array constructor update
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 07 Oct 2009 01:30:33 -0400 |
parents | 7c6d5d8c8d37 |
children | 95a30d00f779 |
files | src/ChangeLog src/OPERATORS/op-str-str.cc |
diffstat | 2 files changed, 8 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2009-10-07 John W. Eaton <jwe@octave.org> + + * OPERATORS/op-str-str.cc (DEFUNOP (transpose, char_matrix_str)): + Update for octave_value constructor changes. + 2009-10-05 Jaroslav Hajek <highegg@gmail.com> * ov.cc (octave_value::assign): Do not gripe "assignment failed" if @@ -44,7 +49,7 @@ Assume is_string argument is always true. * ov-re-mat.cc (octave_sparse_matrix::convert_to_str_internal): - Update for octave_value constructore changes. + Update for octave_value constructor changes. * ov-ch-mat.h (octave_char_matrix::convert_to_str_internal): Likewise. * ov-re-sparse.cc (octave_sparse_matrix::convert_to_str_internal): Likewise.
--- a/src/OPERATORS/op-str-str.cc +++ b/src/OPERATORS/op-str-str.cc @@ -1,4 +1,4 @@ -/* +n/* Copyright (C) 1996, 1997, 1998, 2000, 2002, 2003, 2004, 2005, 2007, 2008 John W. Eaton @@ -45,7 +45,7 @@ return octave_value (); } else - return octave_value (v.char_matrix_value().transpose (), true, + return octave_value (v.char_matrix_value().transpose (), a.is_sq_string () ? '\'' : '"'); }