updated pixel histogram to use fill_unchecked since we know it is within range
Build on RHEL9 / build (push) Successful in 2m31s
Build on RHEL8 / build (push) Successful in 3m5s
Run tests using data on local RHEL8 / build (push) Successful in 3m56s

This commit is contained in:
Erik Fröjdh
2026-06-03 13:02:32 +02:00
parent 8354d3c428
commit f9f78765f5
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -224,7 +224,8 @@ void PedestalTrackingPixelHistogram::worker_loop(int thread_id) {
static_cast<AxisType>(my_pedestal.mean(
static_cast<uint32_t>(local_row),
static_cast<uint32_t>(col)));
my_hist.fill(local_row, static_cast<int>(col), val);
my_hist.fill_unchecked(local_row, static_cast<int>(col),
val);
const double sigma = my_std(local_row, col);
if (sigma > 0.0 &&
std::abs(static_cast<double>(val)) < n_sigma * sigma) {
+1 -1
View File
@@ -124,7 +124,7 @@ void PixelHistogram::worker_loop(int thread_id) {
const auto row = static_cast<ssize_t>(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<int>(col), val);
my_hist.fill_unchecked(local_row, static_cast<int>(col), val);
}
}