comparison src/ov-struct.cc @ 8523:ad3afaaa19c1

implement non-copying contiguous range indexing
author Jaroslav Hajek <highegg@gmail.com>
date Thu, 15 Jan 2009 07:22:24 +0100
parents c1709a45b45b
children 3d8a914c580e
comparison
equal deleted inserted replaced
8522:d65b33e55d40 8523:ad3afaaa19c1
410 410
411 map.assign (key, tmp_cell); 411 map.assign (key, tmp_cell);
412 } 412 }
413 else 413 else
414 // Regularize a null matrix if stored into a struct component. 414 // Regularize a null matrix if stored into a struct component.
415 map.assign (key, t_rhs.non_null_value ()); 415 map.assign (key, t_rhs.storable_value ());
416 416
417 if (! error_state) 417 if (! error_state)
418 { 418 {
419 count++; 419 count++;
420 retval = octave_value (this); 420 retval = octave_value (this);