~ubuntu-branches/ubuntu/wily/octave-ltfat/wily

« back to all changes in this revision

Viewing changes to src/ifilterbank.c

  • Committer: Package Import Robot
  • Author(s): Sébastien Villemot, Rafael Laboissiere
  • Date: 2015-07-18 23:36:41 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20150718233641-jhuf3f551a3523qc
Tags: 2.1.0+dfsg-1
* Team upload.

[ Rafael Laboissiere ]
* Imported Upstream version 2.1.0+dfsg
* d/rules: Prevent unit testing on armhf and mips.
  This avoids FTBFS on theses architectures (see Bug#765545).
* Unit testing does not need X-window anymore
  + d/rules: Do not use xfvb-run to run the tests.
  + d/control: Drop xauth, xvfb, and gnuplot-nox from Build-Depends.
    Also, the versioned dependency on octave-pkg-dev is relaxed.
* Drop .jar file from upstream tarball, complying with the Debian Policy
  + d/copyright: Exclude file blockproc.jar
  + d/rules: Add get-orig-source target
  + d/watch: Mangle upstream version to cope with "+dfsg" tag
* Build blockproc.jar, which is deleted from the upstream tarball
  + d/rules: Add commands for building blockproc.jar
  + d/control: Build-depend on default-jdk
  + d/p/fix-path-of-included-makefile.patch: New patch
* Bump Standard-Versions to 3.9.6 (no changes needed)
* d/p/autoload-yes.patch: Remove patch (deprecated upstream)
* Bump Build-Depends on octave to >> 4.0.0~rc4-1 (for sndfile support)
* d/check.m: Avoid verbose output of unit tests
* d/watch: Add the repacksuffix option
* d/p/add-hardening-flags.patch: Drop patch (applied upstream)
* d/p/fix-path-of-included-makefile.patch: Drop patch (applied upstream)

Show diffs side-by-side

added added

removed removed

Lines of Context:
220
220
                                 const ltfatInt foff,
221
221
                                 const int realonly, LTFAT_COMPLEX *F)
222
222
{
223
 
    const ltfatInt L = p->L;
224
 
    const ltfatInt W = p->W;
225
223
    const ltfatInt Gl = p->Gl;
 
224
    if(!Gl) return; // Bail out if filter has zero bandwidth
 
225
    const ltfatInt L = p->L;
 
226
    const ltfatInt W = p->W;
226
227
    const double a = p->a;
227
228
    LTFAT_COMPLEX* cbuf = p->buf;
228
229
 
287
288
        LTFAT_NAME_COMPLEX(reverse_array)((LTFAT_COMPLEX *)G, Gconj, Gl);
288
289
        LTFAT_NAME_COMPLEX(conjugate_array)(Gconj, Gconj, Gl);
289
290
 
290
 
        LTFAT_NAME(upconv_fftbl_execute)(p, cin, Gconj, foffconj, false, F);
 
291
        LTFAT_NAME(upconv_fftbl_execute)(p, cin, Gconj, foffconj, 0, F);
291
292
        ltfat_free(Gconj);
292
293
    }
293
294
 
298
299
LTFAT_NAME(upconv_fftbl_done)(LTFAT_NAME(upconv_fftbl_plan) p)
299
300
{
300
301
    LTFAT_FFTW(destroy_plan)(p->p_c);
301
 
    ltfat_free(p->buf);
 
302
    if(p->buf) ltfat_free(p->buf);
302
303
}