Mercurial > octave-nkf
changeset 18586:7948d15e7e2e draft
Fix single type support
author | LYH <lyh.kernel@gmail.com> |
---|---|
date | Fri, 21 Mar 2014 14:59:38 -0400 |
parents | 61331c790982 |
children | 11d1f3d1ab0d |
files | libinterp/corefcn/jit-typeinfo.cc |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/jit-typeinfo.cc Fri Mar 21 14:59:38 2014 -0400 +++ b/libinterp/corefcn/jit-typeinfo.cc Fri Mar 21 14:59:38 2014 -0400 @@ -2423,9 +2423,10 @@ return get_matrix (); } - if (ov.is_float_type ()) + if (ov.is_single_type () && ! ov.is_complex_type ()) { - return get_single (); + if (ov.is_real_scalar ()) + return get_single (); } if (ov.is_uint16_type())