Ignore:
Timestamp:
Sep 17, 2016, 3:18:39 AM (8 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/cnn, feature/crepe, feature/pitchshift, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch
Children:
8e1328f
Parents:
60cbfe8
Message:

python/lib/gen_code.py: compare to value in param_init

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/lib/gen_code.py

    r60cbfe8 rf9cca9c  
    299299        return """
    300300    self->{name} = {defval};
    301     // nothing to do?
    302     if ({name} != {defval}) {{
     301    if ({name} != 0.) {{
    303302        self->{name} = {name};
    304303    }}
Note: See TracChangeset for help on using the changeset viewer.