Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug correction in mult #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Phyks
Copy link

@Phyks Phyks commented Dec 2, 2013

Mult can be 32768, resulting in an overflow for int16 type which is an int between -32768 and 32767.

Changing in the line involving mult 32768 by 32767 solve this problem very easily, involving a very small loss of the amplitude precision.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant