Invalid todo comment and depdency on std::ratio removed
This commit is contained in:
1 parent
00ed8ad83a
commit
1a23d5b69e
1 file changed
+3
-4
@@ -130,10 +130,9 @@ namespace units {
|
||||
|
||||
template<Exponent E, int Num, int Den>
|
||||
struct exp_multiply {
|
||||
// todo: provide custom implementation for ratio_add
|
||||
using r1 = std::ratio<E::num, E::den>;
|
||||
using r2 = std::ratio<Num, Den>;
|
||||
using r = std::ratio_multiply<r1, r2>;
|
||||
using r1 = ratio<E::num, E::den>;
|
||||
using r2 = ratio<Num, Den>;
|
||||
using r = ratio_multiply<r1, r2>;
|
||||
using type = exp<typename E::dimension, r::num, r::den>;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user