diff --git a/src/hist/PedestalTrackingPixelHistogram.cpp b/src/hist/PedestalTrackingPixelHistogram.cpp index 0cc36ff..b6cf17a 100644 --- a/src/hist/PedestalTrackingPixelHistogram.cpp +++ b/src/hist/PedestalTrackingPixelHistogram.cpp @@ -224,7 +224,8 @@ void PedestalTrackingPixelHistogram::worker_loop(int thread_id) { static_cast(my_pedestal.mean( static_cast(local_row), static_cast(col))); - my_hist.fill(local_row, static_cast(col), val); + my_hist.fill_unchecked(local_row, static_cast(col), + val); const double sigma = my_std(local_row, col); if (sigma > 0.0 && std::abs(static_cast(val)) < n_sigma * sigma) { diff --git a/src/hist/PixelHistogram.cpp b/src/hist/PixelHistogram.cpp index 0a8af3a..2c2e088 100644 --- a/src/hist/PixelHistogram.cpp +++ b/src/hist/PixelHistogram.cpp @@ -124,7 +124,7 @@ void PixelHistogram::worker_loop(int thread_id) { const auto row = static_cast(first_row + local_row); for (ssize_t col = 0; col < image.shape(1); ++col) { const auto val = image(row, col); - my_hist.fill(local_row, static_cast(col), val); + my_hist.fill_unchecked(local_row, static_cast(col), val); } }