Changed the exponent type from int to double in the power grid-function
Summary
The exponent for pow was fixed to int
. Since internally the std::pow
is used, one can directly replace int
with double
to have a more general operation. This is done in this MR.