Skip to content

Commit

Permalink
I fixed an issue with the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Toennis committed Jul 17, 2024
1 parent 8da7dc6 commit 2ac11d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ctapipe/image/tests/test_extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ def test_dtype(Extractor, subarray):
n_channels, n_pixels, _ = waveforms.shape
broken_pixels = np.zeros((n_channels, n_pixels), dtype=bool)
if Extractor is VarianceExtractor:
var = extractor(waveforms, tel_id, 0.0)
var = extractor(waveforms, tel_id, None, None)
assert var.image.dtype == np.float32
return

Expand Down

0 comments on commit 2ac11d1

Please sign in to comment.