Commit c14e91d9 authored by Theo Steininger's avatar Theo Steininger
Browse files

Fixed dtype casting in PowerSpace

parent 133952dc
......@@ -168,7 +168,7 @@ class PowerSpace(Space):
weight = self.rho.reshape(reshaper)
if power != 1:
weight = weight ** power
weight = weight ** np.float(power)
if inplace:
x *= weight
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment