Base: fix pow() of Quantity

This commit is contained in:
wmayer
2023-02-27 22:10:44 +01:00
committed by wwmayer
parent ae943476de
commit c8a35d85fe
2 changed files with 32 additions and 1 deletions

View File

@@ -195,7 +195,7 @@ Quantity Quantity::pow(double p) const
{
return Quantity(
std::pow(this->_Value, p),
this->_Unit.pow((short)p)
this->_Unit.pow(p)
);
}