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
In macOS (10.15.2), after modifying the type of input and output in class inout from int to int64_t, _base in class mh_sampler is no longer the assigned value 2, but a random value. In Linux (Ubuntu 18.04), this issue does not occur.
code in inout.cc
doublemh_sampler::cost_to_pi(double cost) {
// TODO: _base value is not 2 in macos, but 2 in linux// return pow(_base, -1.0 * cost);returnpow(2, -1.0 * cost);
The text was updated successfully, but these errors were encountered:
In macOS (10.15.2), after modifying the type of
input
andoutput
in classinout
fromint
toint64_t
,_base
in classmh_sampler
is no longer the assigned value 2, but a random value. In Linux (Ubuntu 18.04), this issue does not occur.code in inout.cc
code in mh_sampler.cc
The text was updated successfully, but these errors were encountered: