# HG changeset patch # User LYH # Date 1395428378 14400 # Node ID 7948d15e7e2ed99bd56eef711b99333f87f8e2a0 # Parent 61331c790982813bd9d8170eea93823c7f40980f Fix single type support diff -r 61331c790982 -r 7948d15e7e2e libinterp/corefcn/jit-typeinfo.cc --- 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())