Skip to content

Commit

Permalink
Update Wrappers/Python/cil/optimisation/functions/TotalVariation.py
Browse files Browse the repository at this point in the history
Co-authored-by: Gemma Fardell <47746591+gfardell@users.noreply.github.com>
Signed-off-by: Margaret Duff <43645617+MargaretDuff@users.noreply.github.com>
  • Loading branch information
MargaretDuff and gfardell authored Aug 9, 2023
1 parent 85f9a54 commit c63355b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Wrappers/Python/cil/optimisation/functions/TotalVariation.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,14 +222,6 @@ def _get_p2(self):
else:
return self._p2

@p2.setter
def p2(self, value):
r""" Setter for the dual value in the proximal calculation."""
if len(value) == len(self.gradient.range_geometry().geometries):
self._p2 = value
else:
raise TypeError('p2 should be in the range of the gradient of the image')

@property
def regularisation_parameter(self):
return self._regularisation_parameter
Expand Down

0 comments on commit c63355b

Please sign in to comment.