提交 f4489f17 编写于 作者: M Maks Skorokhod 提交者: alexey-milovidov

🔧 use correct result types

上级 25509e2e
......@@ -434,7 +434,7 @@ struct AbsImpl
template <typename A, typename B>
struct GCDImpl
{
using ResultType = typename NumberTraits::ResultOfGCD<A, B>::Type;
using ResultType = typename NumberTraits::ResultOfIntegerDivision<A, B>::Type;
template <typename Result = ResultType>
static inline Result apply(A a, B b)
......@@ -450,7 +450,7 @@ struct GCDImpl
template <typename A, typename B>
struct LCMImpl
{
using ResultType = typename NumberTraits::ResultOfLCM<A, B>::Type;
using ResultType = typename NumberTraits::ResultOfAdditionMultiplication<A, B>::Type;
template <typename Result = ResultType>
static inline Result apply(A a, B b)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册