comparison src/ov-bool.h @ 8437:f00578b495e9

remove valid_as_scalar_index
author Jaroslav Hajek <highegg@gmail.com>
date Sat, 27 Dec 2008 17:01:52 +0100
parents c777f3ce02d8
children eb63fbe60fab
comparison
equal deleted inserted replaced
8436:342f72c1df1a 8437:f00578b495e9
78 bool is_bool_scalar (void) const { return true; } 78 bool is_bool_scalar (void) const { return true; }
79 79
80 bool is_bool_type (void) const { return true; } 80 bool is_bool_type (void) const { return true; }
81 81
82 bool is_real_type (void) const { return true; } 82 bool is_real_type (void) const { return true; }
83
84 bool valid_as_scalar_index (void) const { return scalar; }
85
86 bool valid_as_zero_index (void) const { return ! scalar; }
87 83
88 bool is_true (void) const { return scalar; } 84 bool is_true (void) const { return scalar; }
89 85
90 int8NDArray 86 int8NDArray
91 int8_array_value (void) const 87 int8_array_value (void) const