Commit f1a42ebc authored by Martin Reinecke's avatar Martin Reinecke
Browse files

try to bisect the problem

parent 754da5e2
Pipeline #18300 passed with stage
in 5 minutes and 52 seconds
......@@ -107,8 +107,7 @@ class RGSpace(Space):
@property
def total_volume(self):
return self._dim * reduce(lambda x, y: x*y, self.distances)
#return self.dim * self._wgt
return self.dim * self._wgt
def copy(self):
return self.__class__(shape=self.shape,
......@@ -116,12 +115,10 @@ class RGSpace(Space):
harmonic=self.harmonic)
def scalar_weight(self):
return reduce(lambda x, y: x*y, self.distances)
#return self._wgt
return self._wgt
def weight(self):
return reduce(lambda x, y: x*y, self.distances)
#return self._wgt
return self._wgt
def get_distance_array(self):
""" Calculates an n-dimensional array with its entries being the
......
Markdown is supported
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