Mercurial > hg > octave-nkf
comparison liboctave/fCNDArray.cc @ 10352:a3635bc1ea19
remove Array2
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Tue, 23 Feb 2010 16:12:27 +0100 |
parents | 12884915a8e4 |
children | b47ab50a6aa8 |
comparison
equal
deleted
inserted
replaced
10351:5150ceb4dbb4 | 10352:a3635bc1ea19 |
---|---|
840 FloatComplexNDArray::matrix_value (void) const | 840 FloatComplexNDArray::matrix_value (void) const |
841 { | 841 { |
842 FloatComplexMatrix retval; | 842 FloatComplexMatrix retval; |
843 | 843 |
844 if (ndims () == 2) | 844 if (ndims () == 2) |
845 retval = FloatComplexMatrix (Array2<FloatComplex> (*this)); | 845 retval = FloatComplexMatrix (Array<FloatComplex> (*this)); |
846 else | 846 else |
847 (*current_liboctave_error_handler) | 847 (*current_liboctave_error_handler) |
848 ("invalid conversion of FloatComplexNDArray to FloatComplexMatrix"); | 848 ("invalid conversion of FloatComplexNDArray to FloatComplexMatrix"); |
849 | 849 |
850 return retval; | 850 return retval; |