Mercurial > hg > octave-lyh
diff src/ov-mapper.cc @ 4123:da4c69a81137
[project @ 2002-10-24 15:23:59 by jwe]
author | jwe |
---|---|
date | Thu, 24 Oct 2002 15:24:00 +0000 |
parents | fef735180134 |
children | 6b96ce9f5743 |
line wrap: on
line diff
--- a/src/ov-mapper.cc +++ b/src/ov-mapper.cc @@ -105,7 +105,11 @@ { octave_value retval; - if (arg.is_real_type ()) + // XXX FIXME XXX -- is_real_type can return true for strings if + // implicit_str_to_num_ok is nonzero. Should it really work that + // way? + + if (arg.is_real_type () && ! (arg.is_string () && ch_map_fcn)) { if (arg.is_scalar_type ()) {