removing warnings
Build on RHEL9 / build (push) Successful in 2m33s
Build on RHEL8 / build (push) Successful in 3m24s
Run tests using data on local RHEL8 / build (push) Successful in 3m55s

This commit is contained in:
Erik Frojdh
2026-06-02 15:47:42 +02:00
parent fc76f36413
commit c20a94015c
+2 -2
View File
@@ -395,7 +395,7 @@ void PedestalTrackingPixelHistogram::fill_from_file(const std::filesystem::path
File f(fname);
//check that row col matches constructor
if (f.rows() != rows_ || f.cols() != cols_) {
if (f.rows() != static_cast<size_t>(rows_) || f.cols() != static_cast<size_t>(cols_)) {
throw std::invalid_argument(
"PedestalTrackingPixelHistogram: Frame in file {} has shape ({}, {}) does not match "
"constructor shape");
@@ -447,7 +447,7 @@ void PedestalTrackingPixelHistogram::process_pedestal_file(const std::filesystem
File f(fname);
//check that row col matches constructor
if (f.rows() != rows_ || f.cols() != cols_) {
if (f.rows() != static_cast<size_t>(rows_) || f.cols() != static_cast<size_t>(cols_)) {
throw std::invalid_argument(
"PedestalTrackingPixelHistogram: Frame in file {} has shape ({}, {}) does not match "
"constructor shape");