diff liboctave/idx-vector.h @ 9886:cddd5c3d5f04

fix & extend special-case optimizations for indexed assignment
author Jaroslav Hajek <highegg@gmail.com>
date Sun, 29 Nov 2009 07:51:15 +0100
parents 034677ab6865
children 83bd7f34f9da
line wrap: on
line diff
--- a/liboctave/idx-vector.h
+++ b/liboctave/idx-vector.h
@@ -367,7 +367,7 @@
       { return orig_dims; }
 
     bool is_colon_equiv (octave_idx_type n) const
-      { return count == n && ext == n; }
+      { return len == n && ext == n; }
 
     const bool *get_data (void) const { return data; }