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 early termination error message #92

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

Conversation

michaelweylandt
Copy link
Member

When CARP/CBASS fail to converge before hitting
the iteration limit, control is returned to R
where dendrogram construction fails with a unintelligible
error message. Instead, fail explicitly at max_iter with a
clearer error message

  • Update src/{alg_reg,optim}_policies.h to use ::error
  • Add tests

When CARP/CBASS fail to converge before hitting
the iteration limit, control is returned to R
where dendrogram construction fails with a unintelligible
error message. Instead, fail explicitly at max_iter with a
clearer error message

- Update src/{alg_reg,optim}_policies.h to use ::error
- Add tests
@michaelweylandt michaelweylandt added the Algorithms Improvements to core CARP/CBASS algorithms label Jun 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Algorithms Improvements to core CARP/CBASS algorithms
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant