comparison src/DLD-FUNCTIONS/lookup.cc @ 9732:b4fdfee405b5

remove ArrayN<T> + fix nonhom. diag-scalar ops
author Jaroslav Hajek <highegg@gmail.com>
date Fri, 16 Oct 2009 13:12:31 +0200
parents dd4aa19c3053
children f80c566bc751
comparison
equal deleted inserted replaced
9731:7b9cbaad68d6 9732:b4fdfee405b5
111 { 111 {
112 octave_value retval; 112 octave_value retval;
113 113
114 if (match_bool) 114 if (match_bool)
115 { 115 {
116 boolNDArray match = ArrayN<bool> (array.lookupb (values)); 116 boolNDArray match = Array<bool> (array.lookupb (values));
117 retval = match; 117 retval = match;
118 } 118 }
119 else 119 else
120 { 120 {
121 Array<octave_idx_type> idx; 121 Array<octave_idx_type> idx;