Skip to content

Commit

Permalink
Fix for the previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyPechnikov committed Dec 18, 2024
1 parent 5c5f58f commit 40065f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygmtsar/pygmtsar/Stack_phasediff.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def compute_interferogram(self, pairs, name, resolution=None, weight=None, topo=

if isinstance(weight, str) and weight == 'auto':
weight = self.psfunction()
else:
elif weight is not None:
weight = weight.astype(np.float32).chunk(-1 if weight.chunks is None else weight.chunks)

if queue is None:
Expand Down

0 comments on commit 40065f1

Please sign in to comment.