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 fix in maxvector #24

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Bug fix in maxvector #24

wants to merge 3 commits into from

Conversation

xnie
Copy link

@xnie xnie commented Jun 17, 2020

In kernels.R, if maxvector = 800, numvectorss <- c(250, 500, 1000, min(c(maxvector, 2000)), maxvector) would return c(250, 500, 1000, 800, 800), but then 1000 > 800 and the code would throw a bug. e.g. numbervectorss can't be greater than maxvector.

A quick fix is to make the if condition thresholding at 1000, instead of 500

@xnie xnie force-pushed the master branch 2 times, most recently from ddc7053 to 88001e4 Compare June 19, 2020 00:47
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