Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jhdark committed Oct 30, 2023
1 parent 39a09cc commit 83d87fc
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions festim/hydrogen_transport_problem.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,21 +105,6 @@ def __init__(
def temperature(self):
return self._temperature

@temperature.setter
def temperature(self, value):
if value is None:
self._temperature = value
return
if not isinstance(value, (fem.Function, fem.Constant, np.ndarray)):
raise TypeError(
f"Value must be a dolfinx.fem.Function, dolfinx.fem.Constant, or a np.ndarray not {type(value)}"
)
self._temperature = value

@property
def temperature(self):
return self._temperature

@temperature.setter
def temperature(self, value):
if value is None:
Expand Down

0 comments on commit 83d87fc

Please sign in to comment.