forked from mpusz/mp-units
Invalid todo comment and depdency on std::ratio removed
This commit is contained in:
@@ -130,10 +130,9 @@ namespace units {
|
|||||||
|
|
||||||
template<Exponent E, int Num, int Den>
|
template<Exponent E, int Num, int Den>
|
||||||
struct exp_multiply {
|
struct exp_multiply {
|
||||||
// todo: provide custom implementation for ratio_add
|
using r1 = ratio<E::num, E::den>;
|
||||||
using r1 = std::ratio<E::num, E::den>;
|
using r2 = ratio<Num, Den>;
|
||||||
using r2 = std::ratio<Num, Den>;
|
using r = ratio_multiply<r1, r2>;
|
||||||
using r = std::ratio_multiply<r1, r2>;
|
|
||||||
using type = exp<typename E::dimension, r::num, r::den>;
|
using type = exp<typename E::dimension, r::num, r::den>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user