Skip to content

Commit 020b6d4

Browse files
committed
fix: manual comps in differential fluxes
1 parent 3fe775a commit 020b6d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

prose/fluxes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ def diff(self, comps: np.ndarray = None):
324324
differential :code:`Fluxes`
325325
"""
326326
if comps is not None:
327-
weights = np.zeros(self.fluxes[0:2])
327+
weights = np.zeros(self.fluxes.shape[0:2])
328328
weights[:, comps] = 1
329329
else:
330330
weights = None

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "prose"
3-
version = "3.3.3"
3+
version = "3.3.4"
44
description = "Modular image processing pipelines for Astronomy"
55
authors = ["Lionel Garcia"]
66
license = "MIT"

0 commit comments

Comments
 (0)