csprng icon indicating copy to clipboard operation
csprng copied to clipboard

pip install with set_offset not implemented error

Open Jiancong opened this issue 2 years ago • 1 comments

/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"); }

Jiancong avatar Jul 15 '23 02:07 Jiancong

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

kiranosora avatar Jan 17 '24 10:01 kiranosora