Skip to content

Commit

Permalink
Merge branch 'garth/remove-deprecated-code'
Browse files Browse the repository at this point in the history
  • Loading branch information
garth-wells committed Jun 27, 2017
2 parents d5c56a5 + daee570 commit 062d7b4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions ufl/argument.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,6 @@ def ufl_element(self):
# use .ufl_function_space().ufl_element() instead.")
return self._ufl_function_space.ufl_element()

# def element(self):
# "Deprecated, please use .ufl_function_space().ufl_element() instead."
# deprecate("Argument.element() is deprecated, please use Argument.ufl_element() instead.")
# return self.ufl_element()

def number(self):
"Return the Argument number."
return self._number
Expand Down
5 changes: 0 additions & 5 deletions ufl/coefficient.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,6 @@ def ufl_element(self):
"Shortcut to get the finite element of the function space of this coefficient."
return self._ufl_function_space.ufl_element()

# def element(self):
# "Deprecated, please use Coefficient.ufl_element() instead."
# deprecate("Coefficient.element() is deprecated, please use Coefficient.ufl_element() instead.")
# return self.ufl_element()

def is_cellwise_constant(self):
"Return whether this expression is spatially constant over each cell."
return self.ufl_element().is_cellwise_constant()
Expand Down

0 comments on commit 062d7b4

Please sign in to comment.