Skip to content

Commit

Permalink
Merged in miklos1/fix-finiteelement-repr (pull request #79)
Browse files Browse the repository at this point in the history
Fix FiniteElement __repr__ bug

Approved-by: Jan Blechta <blechta@karlin.mff.cuni.cz>
  • Loading branch information
miklos1 committed Aug 11, 2017
2 parents 2f4e1f1 + 31d18dd commit 4fbc66b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ufl/finiteelement/finiteelement.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def __init__(self,
if v is None:
var_str = ""
else:
var_str = ", variant=%s" % repr(qs)
var_str = ", variant=%s" % repr(v)
self._repr = as_native_str("FiniteElement(%s, %s, %s%s%s)" % (
repr(self.family()), repr(self.cell()), repr(self.degree()), quad_str, var_str))
assert '"' not in self._repr
Expand Down

0 comments on commit 4fbc66b

Please sign in to comment.