You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some of boost's internal functions are fully specialized for dqrng::random_64bit_generator; see below. However, this specialization works for dqrng::random_64bit_generator only and not for any of its derived classes. See also https://stackoverflow.com/a/27988380.
I do not know if there is a natural fix as the original template definitions are part of the boost headers. Other than that, either all derived classes of dqrng::random_64bit_generator should have the same specialization or only dereferenced pointer-to-dqrng::random_64bit_generator should be passed into any distribution.
The text was updated successfully, but these errors were encountered:
For now it looks like adding the same specialization is the way to go. In addition, I should also investigate to what extend these specialization are actually needed, i.e. if they still give a performance advantage.
Problem
Some of boost's internal functions are fully specialized for
dqrng::random_64bit_generator
; see below. However, this specialization works fordqrng::random_64bit_generator
only and not for any of its derived classes. See also https://stackoverflow.com/a/27988380.dqrng/inst/include/dqrng_distribution.h
Lines 41 to 63 in f3a8002
Possible solutions
I do not know if there is a natural fix as the original template definitions are part of the boost headers. Other than that, either all derived classes of
dqrng::random_64bit_generator
should have the same specialization or only dereferenced pointer-to-dqrng::random_64bit_generator
should be passed into any distribution.The text was updated successfully, but these errors were encountered: