Mercurial > hg > octave-nkf
diff src/pt-select.cc @ 4223:5ebaf7eee36e
[project @ 2002-12-17 23:54:34 by jwe]
author | jwe |
---|---|
date | Tue, 17 Dec 2002 23:54:34 +0000 |
parents | 23d06c9e1edd |
children | ccfdb55c8156 |
line wrap: on
line diff
--- a/src/pt-select.cc +++ b/src/pt-select.cc @@ -135,12 +135,9 @@ int t1 = val.type_id (); int t2 = test.type_id (); - binary_op_fcn f - = octave_value_typeinfo::lookup_binary_op (octave_value::op_eq, t1, t2); - // If there is no op_eq for these types, we can't compare values. - if (f && val.rows () == test.rows () && val.columns () == test.columns ()) + if (val.rows () == test.rows () && val.columns () == test.columns ()) { octave_value tmp = do_binary_op (octave_value::op_eq, val, test);