Mercurial > hg > octave-lyh
comparison src/ov-mapper.cc @ 5124:2d03212b76b4
[project @ 2005-01-27 16:56:26 by jwe]
author | jwe |
---|---|
date | Thu, 27 Jan 2005 16:56:35 +0000 |
parents | e35b034d3523 |
children | 7c3b22bafedc |
comparison
equal
deleted
inserted
replaced
5123:500f3031866d | 5124:2d03212b76b4 |
---|---|
110 octave_value retval; | 110 octave_value retval; |
111 | 111 |
112 // XXX FIXME XXX -- is_real_type can return true. Should it really | 112 // XXX FIXME XXX -- is_real_type can return true. Should it really |
113 // work that way? | 113 // work that way? |
114 | 114 |
115 if (arg.is_real_type () && ! (arg.is_string () && ch_map_fcn)) | 115 if (arg.is_real_type () |
116 && (c_c_map_fcn || d_d_map_fcn || d_b_map_fcn) | |
117 && ! (arg.is_string () && ch_map_fcn)) | |
116 { | 118 { |
117 if (arg.is_scalar_type ()) | 119 if (arg.is_scalar_type ()) |
118 { | 120 { |
119 double d = arg.double_value (); | 121 double d = arg.double_value (); |
120 | 122 |