Mercurial > octave-nkf
diff src/ov-str-mat.cc @ 3203:bc61b0e8d60e
[project @ 1998-10-30 20:26:27 by jwe]
author | jwe |
---|---|
date | Fri, 30 Oct 1998 20:26:31 +0000 |
parents | af7ec9d3a5e6 |
children | 30770ba4457a |
line wrap: on
line diff
--- a/src/ov-str-mat.cc Thu Oct 29 20:28:02 1998 +0000 +++ b/src/ov-str-mat.cc Fri Oct 30 20:26:31 1998 +0000 @@ -51,7 +51,9 @@ { CAST_CONV_ARG (const octave_char_matrix_str&); - return new octave_matrix (v.matrix_value ()); + Matrix m = v.matrix_value (); + + return error_state ? 0 : new octave_matrix (m); } type_conv_fcn