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

Correct the default value of "algorithm" in README #9

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

Conversation

Kiyamou
Copy link

@Kiyamou Kiyamou commented May 9, 2020

The default value of algorithm is 0, not 1.

m = vsapi->propNumElements(in, "algorithm");
for (i = 0; i < 3; i++)
{
if (i < m)
{
d.algorithm[i] = int64ToIntS(vsapi->propGetInt(in, "algorithm", i, nullptr));
}
else if (i == 0)
{
d.algorithm[i] = 0;
}
else
{
d.algorithm[i] = d.algorithm[i - 1];
}

The rest of README about algorithm ‘s default value is correct, only this one is wrong.

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