Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
brosaplanella committed Aug 8, 2020
1 parent 3ca2d60 commit fdd0bb3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pybamm/expression_tree/unary_operators.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ def _unary_evaluate(self, child):
else:
return np.sign(child)


class Floor(UnaryOperator):
"""A node in the expression tree representing an `floor` operator
Expand All @@ -187,6 +188,7 @@ def _unary_evaluate(self, child):
""" See :meth:`UnaryOperator._unary_evaluate()`. """
return np.floor(child)


class Ceiling(UnaryOperator):
"""A node in the expression tree representing a `ceil` operator
Expand Down

0 comments on commit fdd0bb3

Please sign in to comment.