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
/usr/include/boost/random/discrete_distribution.hpp:603:32: error: type/value mismatch at argument 1 in template parameter list for ‘template<class First, class ... Others> using first = First’
603 | if(a_iter->first < normalized_average) {
| ^~~~~~~~~~~~~~~~~~
/usr/include/boost/random/discrete_distribution.hpp:603:32: note: expected a type, got ‘normalized_average’
Substituting with std::less(a_iter->first, normalized_average) fixes this issue.
The text was updated successfully, but these errors were encountered:
This condition leads to
Substituting with
std::less(a_iter->first, normalized_average)
fixes this issue.The text was updated successfully, but these errors were encountered: