Commit 83a0b1f3 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

remove dead code

parent a6785e4a
Pipeline #26033 passed with stages
in 5 minutes and 54 seconds
...@@ -40,9 +40,6 @@ class DomainTuple(object): ...@@ -40,9 +40,6 @@ class DomainTuple(object):
shape_tuple = tuple(sp.shape for sp in self._dom) shape_tuple = tuple(sp.shape for sp in self._dom)
self._shape = reduce(lambda x, y: x + y, shape_tuple, ()) self._shape = reduce(lambda x, y: x + y, shape_tuple, ())
self._size = reduce(lambda x, y: x * y, self._shape, 1) self._size = reduce(lambda x, y: x * y, self._shape, 1)
prod = 1
for dom in self._dom:
prod *= dom.size
def _get_axes_tuple(self): def _get_axes_tuple(self):
i = 0 i = 0
......
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