Mercurial > octave-nkf
comparison src/ov-base-int.cc @ 8918:f5408862892f
Consistently use element_type in the array classes.
author | Jason Riedy <jason@acm.org> |
---|---|
date | Fri, 06 Mar 2009 10:27:30 -0500 |
parents | 25bc2d31e1bf |
children | eb63fbe60fab |
comparison
equal
deleted
inserted
replaced
8917:d707aa3bbc36 | 8918:f5408862892f |
---|---|
143 | 143 |
144 for (octave_idx_type i = 0; i < nel; i++) | 144 for (octave_idx_type i = 0; i < nel; i++) |
145 { | 145 { |
146 OCTAVE_QUIT; | 146 OCTAVE_QUIT; |
147 | 147 |
148 typename T::elt_type tmp = this->matrix(i); | 148 typename T::element_type tmp = this->matrix(i); |
149 | 149 |
150 typedef typename T::elt_type::val_type val_type; | 150 typedef typename T::element_type::val_type val_type; |
151 | 151 |
152 val_type ival = tmp.value (); | 152 val_type ival = tmp.value (); |
153 | 153 |
154 static const bool is_signed = std::numeric_limits<val_type>::is_signed; | 154 static const bool is_signed = std::numeric_limits<val_type>::is_signed; |
155 static const bool can_be_larger_than_uchar_max | 155 static const bool can_be_larger_than_uchar_max |