Skip to content
Snippets Groups Projects
Commit 32acb1dd authored by Dominic Kempf's avatar Dominic Kempf
Browse files

Fix pep8

parent 17702406
No related branches found
No related tags found
No related merge requests found
...@@ -45,9 +45,9 @@ def dump_dof_numbers(stream): ...@@ -45,9 +45,9 @@ def dump_dof_numbers(stream):
gv = name_leafview() gv = name_leafview()
return ["Dune::PDELab::NonOverlappingEntitySet<{}> es({});".format(gvt, gv), return ["Dune::PDELab::NonOverlappingEntitySet<{}> es({});".format(gvt, gv),
"{} << \"{} \" << {} << \" dofs dofs \" << {}.maxLocalSize() * es.size(0) << std::endl;".format(stream, "{} << \"{} \" << {} << \" dofs dofs \" << {}.maxLocalSize() * es.size(0) << std::endl;".format(stream,
level, level,
ident, ident,
name_trial_gfs()) name_trial_gfs())
] ]
......
...@@ -55,8 +55,8 @@ class UFL2LoopyVisitor(ModifiedTerminalTracker): ...@@ -55,8 +55,8 @@ class UFL2LoopyVisitor(ModifiedTerminalTracker):
self.current_info = info self.current_info = info
expr = self._call(o, False) expr = self._call(o, False)
if expr != 0: if expr != 0:
# from dune.perftool.sympy import simplify_pymbolic_expression # from dune.perftool.sympy import simplify_pymbolic_expression
# expr = simplify_pymbolic_expression(expr) # expr = simplify_pymbolic_expression(expr)
self.interface.generate_accumulation_instruction(expr, self) self.interface.generate_accumulation_instruction(expr, self)
def _call(self, o, do_predicates): def _call(self, o, do_predicates):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment