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

Line 305 of vpylm.cpp #1

Open
x-ji opened this issue Nov 24, 2018 · 1 comment
Open

Line 305 of vpylm.cpp #1

x-ji opened this issue Nov 24, 2018 · 1 comment

Comments

@x-ji
Copy link

x-ji commented Nov 24, 2018

It seems that the code should be return sampling_table_size - 1; instead of return _sampling_table[sampling_table_size - 1];, since it's supposed to return the depth (type int), not the p_w (type double) of that depth

@musyoku
Copy link
Owner

musyoku commented Dec 28, 2018

Fixed, thank you.

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