Commit 660ad61d authored by Martin Reinecke's avatar Martin Reinecke
Browse files

remove defaults

parent 5f43e618
......@@ -218,7 +218,7 @@ class PowerSpace(Space):
def weight(self, x, power=1, axes=None, inplace=False):
def weight(self, x, power, axes, inplace=False):
reshaper = [1, ] * len(x.shape)
# we know len(axes) is always 1
reshaper[axes[0]] = self.shape[0]
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