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

Cannot run example #4

Open
ryw89 opened this issue Feb 7, 2022 · 0 comments
Open

Cannot run example #4

ryw89 opened this issue Feb 7, 2022 · 0 comments

Comments

@ryw89
Copy link

ryw89 commented Feb 7, 2022

Hi,

I'm having trouble running the example on my Arch Linux system.

xl_rf <- X_RF(feat = feature_train, tr = w_train, yobs = yobs_train)

yields:
/usr/include/c++/11.1.0/bits/random.tcc:2667: void std::discrete_distribution<_IntType>::param_type::_M_initialize() [with _IntType = long unsigned int]: Assertion '__sum > 0' failed.

(And then R terminates.)

Some info about my environment:

R version is: R version 4.1.2 (2021-11-01) -- "Bird Hippie"

GCC version, which owns the random.tcc file: gcc 11.1.0-3. (Version according to the Arch Linux package manager, that is.)

Thanks in advance for any help you can provide.

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

1 participant