comparison src/DLD-FUNCTIONS/fftw.cc @ 11586:12df7854fa7c

strip trailing whitespace from source files
author John W. Eaton <jwe@octave.org>
date Thu, 20 Jan 2011 17:24:59 -0500
parents 01f703952eff
children f96b9b9f141b
comparison
equal deleted inserted replaced
11585:1473d0cf86d2 11586:12df7854fa7c
130 130
131 if (!error_state) 131 if (!error_state)
132 { 132 {
133 // Use STL function to convert to lower case 133 // Use STL function to convert to lower case
134 std::transform (arg0.begin (), arg0.end (), arg0.begin (), tolower); 134 std::transform (arg0.begin (), arg0.end (), arg0.begin (), tolower);
135 135
136 if (nargin == 2) 136 if (nargin == 2)
137 { 137 {
138 std::string arg1 = args(1).string_value (); 138 std::string arg1 = args(1).string_value ();
139 if (!error_state) 139 if (!error_state)
140 { 140 {
141 if (arg0 == "planner") 141 if (arg0 == "planner")
142 { 142 {
143 std::transform (arg1.begin (), arg1.end (), 143 std::transform (arg1.begin (), arg1.end (),
144 arg1.begin (), tolower); 144 arg1.begin (), tolower);
145 octave_fftw_planner::FftwMethod meth 145 octave_fftw_planner::FftwMethod meth
146 = octave_fftw_planner::UNKNOWN; 146 = octave_fftw_planner::UNKNOWN;
147 octave_float_fftw_planner::FftwMethod methf 147 octave_float_fftw_planner::FftwMethod methf
148 = octave_float_fftw_planner::UNKNOWN; 148 = octave_float_fftw_planner::UNKNOWN;
226 } 226 }
227 else 227 else
228 { 228 {
229 if (arg0 == "planner") 229 if (arg0 == "planner")
230 { 230 {
231 octave_fftw_planner::FftwMethod meth = 231 octave_fftw_planner::FftwMethod meth =
232 octave_fftw_planner::method (); 232 octave_fftw_planner::method ();
233 233
234 if (meth == octave_fftw_planner::MEASURE) 234 if (meth == octave_fftw_planner::MEASURE)
235 retval = octave_value ("measure"); 235 retval = octave_value ("measure");
236 else if (meth == octave_fftw_planner::PATIENT) 236 else if (meth == octave_fftw_planner::PATIENT)