Undo misguided fix attempt
This commit is contained in:
1 parent
2bdc778ab6
commit
86b81c9384
1 file changed
+1
-2
@@ -420,8 +420,7 @@ constexpr bool operator==(magnitude<LeftBPs...>, magnitude<RightBPs...>)
|
||||
template<ratio E, auto... BPs>
|
||||
constexpr auto pow(magnitude<BPs...>)
|
||||
{
|
||||
constexpr auto exp = E;
|
||||
if constexpr (exp.num == 0) {
|
||||
if constexpr (E.num == 0) {
|
||||
return magnitude<>{};
|
||||
} else {
|
||||
return magnitude<pow(BPs, E)...>{};
|
||||
|
||||
Reference in new issue
Block a user