fix for broken idx-vector.cc fix.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

fix for broken idx-vector.cc fix.

John W. Eaton-6
Earlier, I sent out a patch for idx-vector.cc to prevent bogus
warnings with NaN or Inf indices.  Unfortunately, there was a typo in
it that I didn't catch until now.  Here is a patch to fix the fix:

Index: idx-vector.cc
===================================================================
RCS file: /home/jwe/src/master/octave/liboctave/idx-vector.cc,v
retrieving revision 1.35
diff -c -r1.35 idx-vector.cc
*** idx-vector.cc 1996/11/12 17:13:53 1.35
--- idx-vector.cc 1996/11/13 04:37:42
***************
*** 204,209 ****
--- 204,211 ----
 
        data[0] = tree_to_mat_idx (d);
      }
+
+   init_state ();
  }
 
  IDX_VEC_REP::idx_vector_rep (const Range& r)


Thanks,

jwe