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

Fixed Field.dim

parent edf74c43
......@@ -814,7 +814,7 @@ class Field(Loggable, Versionable, object):
try:
return int(reduce(lambda x, y: x * y, dim_tuple))
except TypeError:
return 0
return 1
@property
def dof(self):
......
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