Mercurial > hg > octave-nkf
comparison src/DLD-FUNCTIONS/fft2.cc @ 7924:4976f66d469b
miscellaneous cleanup
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 11 Jul 2008 17:59:28 -0400 |
parents | 87865ed7405f |
children | caaad80e81aa |
comparison
equal
deleted
inserted
replaced
7923:c3d21b9b94b6 | 7924:4976f66d469b |
---|---|
104 n_cols = dims (1); | 104 n_cols = dims (1); |
105 else | 105 else |
106 dims (1) = n_cols; | 106 dims (1) = n_cols; |
107 | 107 |
108 if (dims.all_zero () || n_rows == 0 || n_cols == 0) | 108 if (dims.all_zero () || n_rows == 0 || n_cols == 0) |
109 if (arg.is_single_type ()) | 109 { |
110 return octave_value (FloatMatrix ()); | 110 if (arg.is_single_type ()) |
111 else | 111 return octave_value (FloatMatrix ()); |
112 return octave_value (Matrix ()); | 112 else |
113 return octave_value (Matrix ()); | |
114 } | |
113 | 115 |
114 if (arg.is_single_type ()) | 116 if (arg.is_single_type ()) |
115 { | 117 { |
116 if (arg.is_real_type ()) | 118 if (arg.is_real_type ()) |
117 { | 119 { |