--- include/permlib/bsgs.h.orig 2016-07-16 17:37:15 UTC +++ include/permlib/bsgs.h @@ -39,6 +39,7 @@ #include #include +#include #include #include #include --- include/permlib/change/base_transpose.h.orig 2016-07-16 17:37:15 UTC +++ include/permlib/change/base_transpose.h @@ -38,6 +38,7 @@ #include #include +#include namespace permlib { --- include/permlib/generator/schreier_generator.h.orig 2016-07-16 17:37:15 UTC +++ include/permlib/generator/schreier_generator.h @@ -39,6 +39,7 @@ #include #include #include +#include namespace permlib { --- include/permlib/permutation.h.orig 2016-07-16 17:37:15 UTC +++ include/permlib/permutation.h @@ -48,7 +48,7 @@ #include #include #include -#include +#include namespace permlib { @@ -343,7 +343,7 @@ inline boost::uint64_t Permutation::order() const { std::list cycleList = this->cycles(); boost::uint64_t ord = 1; BOOST_FOREACH(const CyclePair& cyc, cycleList) { - ord = boost::math::lcm(ord, static_cast(cyc.second)); + ord = boost::integer::lcm(ord, static_cast(cyc.second)); } return ord; } --- include/permlib/test/giant_test.h.orig 2016-07-16 17:37:15 UTC +++ include/permlib/test/giant_test.h @@ -40,7 +40,7 @@ #include #include -#include +#include #include #include @@ -195,7 +195,7 @@ GiantTestBase::GiantGroupType GiantTest::determi for (unsigned int k = 0; k < cycleLength.size(); ++k) { if (j == k) continue; - if (boost::math::gcd(cycleLength[j], cycleLength[k]) != 1) { + if (boost::integer::gcd(cycleLength[j], cycleLength[k]) != 1) { isCoprime = false; break; } --- include/permlib/test/primitivity_sgs_test.h.orig 2016-07-16 17:37:15 UTC +++ include/permlib/test/primitivity_sgs_test.h @@ -39,6 +39,7 @@ #include #include #include +#include #include #include --- include/permlib/test/type_recognition.h.orig 2016-07-16 17:37:15 UTC +++ include/permlib/test/type_recognition.h @@ -44,7 +44,7 @@ #include #include -#include +#include #include @@ -344,7 +344,7 @@ GroupType* TypeRecognition::largeSym size_t orbitGCD = orbits.front()->size(); BOOST_FOREACH(const OrbitPtr& orbit, orbits) { - orbitGCD = boost::math::gcd(orbitGCD, orbit->size()); + orbitGCD = boost::integer::gcd(orbitGCD, orbit->size()); } GroupType* lastType = 0;