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

Potential typo in Cos #8

Open
gregsdennis opened this issue Jul 13, 2016 · 1 comment
Open

Potential typo in Cos #8

gregsdennis opened this issue Jul 13, 2016 · 1 comment

Comments

@gregsdennis
Copy link

gregsdennis commented Jul 13, 2016

In Cos.CosProc() should

if (n == 2)
{
    if (Mod(k, 2) == 1) return 0;
}

be

if (n == 2)
{
    if (Mod(k, 4) == 1) return 0;
}

?

This would match the pattern of modding by n*2 and the Sin.SinProc() method.

@gruckion
Copy link

I will take a look at this soon

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

No branches or pull requests

2 participants