Skip to content

Commit

Permalink
Merge pull request #448 from ASFHyP3/jhkennedy-patch-1
Browse files Browse the repository at this point in the history
Set phase filter parameter minumum to exclusive
  • Loading branch information
jhkennedy authored Apr 5, 2023
2 parents 3232bee + c6f785f commit 1dcf6b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hyp3_gamma/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ def rtc():

def phase_filter_valid_range(x: str) -> float:
x = float(x)
if 0.0 <= x <= 1.0:
if 0.0 < x <= 1.0:
return x
raise ValueError(f'{x} not in range [0.0, 1.0]')
raise ValueError(f'{x} not in range (0.0, 1.0]')


def insar():
Expand Down

0 comments on commit 1dcf6b7

Please sign in to comment.