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

Merge branch 'better_minimizers' into 'nightly'

Fixed Field.dim

See merge request !200
parents 943a3944 d4b54f8e
......@@ -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