You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to #62: If nOctUp is not 0 the scaling doesn't work. This is caused by double s = std::pow(2.0, -double(i) / double(nPerOct + nOctUp)); which adds nOctUp to nPerOct before the division while the matlab code does scales = 2.^(-(0:nScales-1)/nPerOct+nOctUp); which adds it after the divion. Simple fix would be to cast both variables seperatly: double s = std::pow(2.0, -double(i) / double(nPerOct) + double(nOctUp));
The text was updated successfully, but these errors were encountered:
* fix nOctup arithmetic
Fix provided by @JN-Jones as described in #67
* remove logging message
* #!/bin/bash -e
don’t ignore errors during setup in hunter_env.sh
Similar to #62: If
nOctUp
is not0
the scaling doesn't work. This is caused bydouble s = std::pow(2.0, -double(i) / double(nPerOct + nOctUp));
which addsnOctUp
tonPerOct
before the division while the matlab code doesscales = 2.^(-(0:nScales-1)/nPerOct+nOctUp);
which adds it after the divion. Simple fix would be to cast both variables seperatly:double s = std::pow(2.0, -double(i) / double(nPerOct) + double(nOctUp));
The text was updated successfully, but these errors were encountered: