Changeset 1652 in Sophya for trunk/SophyaLib/NTools


Ignore:
Timestamp:
Sep 21, 2001, 2:45:45 PM (24 years ago)
Author:
cmv
Message:

bug ecrit a=() ? a=blabla: a=blibli; cmv 21/9/01

Location:
trunk/SophyaLib/NTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/NTools/fftpserver.cc

    r1619 r1652  
    143143  sa_size_t n = in.NElts();
    144144  T thr = FFTArrayChecker<T>::ZeroThreshold();
    145   sa_size_t ncs = ( (in(n-1).imag() < -thr) || (in(n-1).imag() > thr) ) ?
    146                     ncs = 2*n-1 : ncs = 2*n-2;
     145  sa_size_t ncs = ( (in(n-1).imag() < -thr) || (in(n-1).imag() > thr) )
     146                  ? 2*n-1 : 2*n-2;
    147147
    148148  if (out.NElts() != ncs) {
  • trunk/SophyaLib/NTools/fftservintf.cc

    r1630 r1652  
    385385      T thr = ZeroThreshold();
    386386      sa_size_t n = in.Size(in.MaxSizeKA());
    387       sa_size_t ncs = ( (in[n-1].imag() < -thr) || (in[n-1].imag() > thr) ) ?
    388         ncs = 2*n-1 : ncs = 2*n-2;
     387      sa_size_t ncs = ( (in[n-1].imag() < -thr) || (in[n-1].imag() > thr) )
     388                      ? 2*n-1 : 2*n-2;
    389389      sz[in.MaxSizeKA()] = ncs;
    390390    }
Note: See TracChangeset for help on using the changeset viewer.