comparison liboctave/Array.cc @ 4653:14ab7b05a572

[project @ 2003-11-24 05:02:46 by jwe]
author jwe
date Mon, 24 Nov 2003 05:02:46 +0000
parents b868b39534b0
children e3da702f7502
comparison
equal deleted inserted replaced
4652:361fe3e50f7a 4653:14ab7b05a572
1790 1790
1791 int n_dims = dims ().length (); 1791 int n_dims = dims ().length ();
1792 1792
1793 int orig_len = number_of_elements (dims ()); 1793 int orig_len = number_of_elements (dims ());
1794 1794
1795 Array<int> idx_orig_dimsXXX = ra_idx.orig_dimensions (); 1795 dim_vector idx_orig_dims = ra_idx.orig_dimensions ();
1796
1797 dim_vector idx_orig_dims;
1798
1799 idx_orig_dims.resize (idx_orig_dimsXXX.length ());
1800
1801 for (int i = 0; i < idx_orig_dimsXXX.length (); i++)
1802 idx_orig_dims(i) = idx_orig_dimsXXX(i);
1803 1796
1804 if (ra_idx.is_colon ()) 1797 if (ra_idx.is_colon ())
1805 { 1798 {
1806 // Fast magic colon processing. 1799 // Fast magic colon processing.
1807 1800