Skip to content

Commit

Permalink
fix: manual comps in differential fluxes
Browse files Browse the repository at this point in the history
  • Loading branch information
lgrcia committed Jul 25, 2024
1 parent 3fe775a commit 020b6d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion prose/fluxes.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ def diff(self, comps: np.ndarray = None):
differential :code:`Fluxes`
"""
if comps is not None:
weights = np.zeros(self.fluxes[0:2])
weights = np.zeros(self.fluxes.shape[0:2])
weights[:, comps] = 1
else:
weights = None
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "prose"
version = "3.3.3"
version = "3.3.4"
description = "Modular image processing pipelines for Astronomy"
authors = ["Lionel Garcia"]
license = "MIT"
Expand Down

0 comments on commit 020b6d4

Please sign in to comment.