Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
bwohlberg committed Feb 26, 2024
1 parent 0c35d0c commit 37a2fef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scico/functional/_tvnorm.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,11 @@ def _haar_operator(self, ndims, input_shape, input_dtype):
def _prox_operators(self, ndims, input_shape, input_dtype):
"""Construct operators required by prox method."""
w_input_shape = (
# circular boundary: shape of input array
input_shape
if self.circular
# non-circular boundary: shape of input array on non-differenced
# axes and one greater for axes that are differenced
else input_shape[0 : (len(input_shape) - ndims)]
+ tuple([n + 1 for n in input_shape[-ndims:]])
)
Expand Down

0 comments on commit 37a2fef

Please sign in to comment.