This commit is contained in:
Hans Dembinski
2018-11-05 00:34:52 +01:00
parent 04a2203da5
commit 4d048418ae

View File

@@ -464,6 +464,8 @@ struct adaptive_storage {
return t == u;
}
bool operator()(const mp_int& t, const mp_int& u) { return u == t; }
bool operator()(const mp_int& t, const double& u) {
return static_cast<double>(t) == u;
}