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

pip install with set_offset not implemented error #140

Open
Jiancong opened this issue Jul 15, 2023 · 1 comment
Open

pip install with set_offset not implemented error #140

Jiancong opened this issue Jul 15, 2023 · 1 comment

Comments

@Jiancong
Copy link

/tmp/pip-req-build-_41_wxtb/torchcsprng/csrc/cpu/../kernels_commons.h:42:8: error: ‘void CSPRNGGeneratorImpl::set_offset(uint64_t)’ marked ‘override’, but does not override
42 | void set_offset(uint64_t offset) override { throw std::runtime_error("not implemented"); }
| ^~~~~~~~~~
/tmp/pip-req-build-_41_wxtb/torchcsprng/csrc/cpu/../kernels_commons.h:43:12: error: ‘uint64_t CSPRNGGeneratorImpl::get_offset() const’ marked ‘override’, but does not override
43 | uint64_t get_offset() const override { throw std::runtime_error("not implenented"); }

@kiranosora
Copy link

I solved the problem by remove ‘override' in the code.

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