Mercurial > octave
diff liboctave/numeric/oct-fftw.cc @ 27277:db687716fed6
style fixes: generally aim to break long lines before operators, not after
Files affected: Table.cc, dw-main-window.cc, file-editor-tab.cc,
file-editor.cc, main-window.cc, build-env.in.cc, __ichol__.cc,
__magick_read__.cc, besselj.cc, bsxfun.cc, cellfun.cc, data.cc,
dlmread.cc, error.cc, fcn-info.cc, file-io.cc, gl-render.cc,
gl2ps-print.cc, graphics.cc, load-save.cc, ls-mat4.cc, ls-mat5.cc,
matrix_type.cc, mex.cc, oct-stream.cc, pr-output.cc, quadcc.cc,
rand.cc, sparse-xpow.cc, syscalls.cc, sysdep.cc, utils.cc,
__init_fltk__.cc, __init_gnuplot__.cc, chol.cc, fftw.cc, qr.cc,
cdef-class.cc, cdef-object.cc, ov-bool-sparse.cc, ov-cell.cc,
ov-class.cc, ov-cx-diag.cc, ov-cx-sparse.cc, ov-fcn-handle.cc,
ov-flt-cx-diag.cc, ov-flt-re-diag.cc, ov-str-mat.cc, ov-struct.cc,
ov.cc, op-b-sbm.cc, op-bm-sbm.cc, op-cdm-cdm.cc, op-scm-scm.cc,
op-sm-scm.cc, op-sm-sm.cc, jit-typeinfo.cc, pt-cbinop.cc, pt-cbinop.h,
pt-eval.cc, CSparse.cc, MatrixType.cc, dSparse.cc, eigs-base.cc,
lo-specfun.cc, oct-fftw.cc, cmd-edit.cc, lo-regexp.cc, oct-inttypes.h,
url-transfer.cc, mkoctfile.in.cc, and octave-svgconvert.cc.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 21 Jul 2019 10:21:01 -0400 |
parents | 0ee0bb5eb381 |
children | b442ec6dda5c |
line wrap: on
line diff
--- a/liboctave/numeric/oct-fftw.cc Fri Jul 19 14:15:04 2019 -0400 +++ b/liboctave/numeric/oct-fftw.cc Sun Jul 21 10:21:01 2019 -0400 @@ -241,21 +241,21 @@ (((reinterpret_cast<ptrdiff_t> (itmp) + 15) & ~ 0xF) + ((reinterpret_cast<ptrdiff_t> (in)) & 0xF)); - *cur_plan_p = - fftw_plan_many_dft (rank, tmp, howmany, - reinterpret_cast<fftw_complex *> (itmp), - nullptr, stride, dist, - reinterpret_cast<fftw_complex *> (out), - nullptr, stride, dist, dir, plan_flags); + *cur_plan_p + = fftw_plan_many_dft (rank, tmp, howmany, + reinterpret_cast<fftw_complex *> (itmp), + nullptr, stride, dist, + reinterpret_cast<fftw_complex *> (out), + nullptr, stride, dist, dir, plan_flags); } else { - *cur_plan_p = - fftw_plan_many_dft (rank, tmp, howmany, - reinterpret_cast<fftw_complex *> (const_cast<Complex *> (in)), - nullptr, stride, dist, - reinterpret_cast<fftw_complex *> (out), - nullptr, stride, dist, dir, plan_flags); + *cur_plan_p + = fftw_plan_many_dft (rank, tmp, howmany, + reinterpret_cast<fftw_complex *> (const_cast<Complex *> (in)), + nullptr, stride, dist, + reinterpret_cast<fftw_complex *> (out), + nullptr, stride, dist, dir, plan_flags); } if (*cur_plan_p == nullptr) @@ -360,20 +360,20 @@ (((reinterpret_cast<ptrdiff_t> (itmp) + 15) & ~ 0xF) + ((reinterpret_cast<ptrdiff_t> (in)) & 0xF)); - *cur_plan_p = - fftw_plan_many_dft_r2c (rank, tmp, howmany, itmp, - nullptr, stride, dist, - reinterpret_cast<fftw_complex *> (out), - nullptr, stride, dist, plan_flags); + *cur_plan_p + = fftw_plan_many_dft_r2c (rank, tmp, howmany, itmp, + nullptr, stride, dist, + reinterpret_cast<fftw_complex *> (out), + nullptr, stride, dist, plan_flags); } else { - *cur_plan_p = - fftw_plan_many_dft_r2c (rank, tmp, howmany, - (const_cast<double *> (in)), - nullptr, stride, dist, - reinterpret_cast<fftw_complex *> (out), - nullptr, stride, dist, plan_flags); + *cur_plan_p + = fftw_plan_many_dft_r2c (rank, tmp, howmany, + (const_cast<double *> (in)), + nullptr, stride, dist, + reinterpret_cast<fftw_complex *> (out), + nullptr, stride, dist, plan_flags); } if (*cur_plan_p == nullptr) @@ -593,21 +593,21 @@ (((reinterpret_cast<ptrdiff_t> (itmp) + 15) & ~ 0xF) + ((reinterpret_cast<ptrdiff_t> (in)) & 0xF)); - *cur_plan_p = - fftwf_plan_many_dft (rank, tmp, howmany, - reinterpret_cast<fftwf_complex *> (itmp), - nullptr, stride, dist, - reinterpret_cast<fftwf_complex *> (out), - nullptr, stride, dist, dir, plan_flags); + *cur_plan_p + = fftwf_plan_many_dft (rank, tmp, howmany, + reinterpret_cast<fftwf_complex *> (itmp), + nullptr, stride, dist, + reinterpret_cast<fftwf_complex *> (out), + nullptr, stride, dist, dir, plan_flags); } else { - *cur_plan_p = - fftwf_plan_many_dft (rank, tmp, howmany, - reinterpret_cast<fftwf_complex *> (const_cast<FloatComplex *> (in)), - nullptr, stride, dist, - reinterpret_cast<fftwf_complex *> (out), - nullptr, stride, dist, dir, plan_flags); + *cur_plan_p + = fftwf_plan_many_dft (rank, tmp, howmany, + reinterpret_cast<fftwf_complex *> (const_cast<FloatComplex *> (in)), + nullptr, stride, dist, + reinterpret_cast<fftwf_complex *> (out), + nullptr, stride, dist, dir, plan_flags); } if (*cur_plan_p == nullptr) @@ -712,20 +712,20 @@ (((reinterpret_cast<ptrdiff_t> (itmp) + 15) & ~ 0xF) + ((reinterpret_cast<ptrdiff_t> (in)) & 0xF)); - *cur_plan_p = - fftwf_plan_many_dft_r2c (rank, tmp, howmany, itmp, - nullptr, stride, dist, - reinterpret_cast<fftwf_complex *> (out), - nullptr, stride, dist, plan_flags); + *cur_plan_p + = fftwf_plan_many_dft_r2c (rank, tmp, howmany, itmp, + nullptr, stride, dist, + reinterpret_cast<fftwf_complex *> (out), + nullptr, stride, dist, plan_flags); } else { - *cur_plan_p = - fftwf_plan_many_dft_r2c (rank, tmp, howmany, - (const_cast<float *> (in)), - nullptr, stride, dist, - reinterpret_cast<fftwf_complex *> (out), - nullptr, stride, dist, plan_flags); + *cur_plan_p + = fftwf_plan_many_dft_r2c (rank, tmp, howmany, + (const_cast<float *> (in)), + nullptr, stride, dist, + reinterpret_cast<fftwf_complex *> (out), + nullptr, stride, dist, plan_flags); } if (*cur_plan_p == nullptr)