Skip to content

Commit

Permalink
Fix missed variable for one of function parameters combinations
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyPechnikov committed Jan 25, 2024
1 parent b4d6eed commit 3d49e29
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pygmtsar/pygmtsar/Stack_detrend.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ def regression_block(data, variables, weight, algorithm, **kwargs):
nanmask = nanmask_data | nanmask_values | nanmask_weight
else:
weight_values = None
nanmask_weight = None
nanmask = nanmask_data | nanmask_values

# regression requires enough amount of valid pixels
Expand Down

0 comments on commit 3d49e29

Please sign in to comment.