Changeset 31c6010


Ignore:
Timestamp:
Aug 27, 2016, 1:51:45 AM (4 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
30e080c
Parents:
a9a1e79
Message:

python/lib/gen_code.py: fix number of output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/lib/gen_code.py

    ra9a1e79 r31c6010  
    427427        if len(self.do_outputs) > 1:
    428428            out += """
    429     outputs = PyTuple_New(2);""".format(len(self.do_outputs))
     429    outputs = PyTuple_New({:d});""".format(len(self.do_outputs))
    430430            for i, p in enumerate(self.do_outputs):
    431431                out += """
Note: See TracChangeset for help on using the changeset viewer.