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

Fix bug in prune.rpart.R #29

Merged
merged 1 commit into from
Aug 11, 2021
Merged

Conversation

bquistorff
Copy link
Contributor

This fixes a bug in prune.rpart.R (#4 and #26) that can cause an index out of bounds error when the cptable[1,] has duplicate values.

@bethatkinson bethatkinson merged commit c903613 into bethatkinson:master Aug 11, 2021
@bethatkinson
Copy link
Owner

bethatkinson commented Aug 11, 2021 via email

@bquistorff bquistorff deleted the fix_prune branch August 15, 2021 20:41
@vgherard
Copy link

Hello there, Thanks for the cool package!

This fix doesn't appear to be in the published CRAN version, did you eventually choose against it?

I just ran into the exact same bug and found this is fixing my problem, just to let you know.

Valerio

@bethatkinson
Copy link
Owner

bethatkinson commented Jan 28, 2022 via email

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.

3 participants