From c4d6ffb5a749e00ac99667ef443904fa653d2fdc Mon Sep 17 00:00:00 2001 From: Roberto Rossini <71787608+robomics@users.noreply.github.com> Date: Sun, 7 Jul 2024 16:01:53 +0200 Subject: [PATCH] Bugfix --- src/libnchg/expected_values_impl.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libnchg/expected_values_impl.hpp b/src/libnchg/expected_values_impl.hpp index 0d1f1f5..48511df 100644 --- a/src/libnchg/expected_values_impl.hpp +++ b/src/libnchg/expected_values_impl.hpp @@ -92,7 +92,8 @@ template inline ExpectedValues ExpectedValues::trans_only( std::shared_ptr file, const Params ¶ms_, const phmap::flat_hash_map> &bin_mask) { - ExpectedValues ev(nullptr, {params_.mad_max, 0, 0, 0, 0, false, 0, 0}); + ExpectedValues ev( + nullptr, {params_.mad_max, 0, std::numeric_limits::max(), 0, 0, false, 0, 0}); ev._fp = std::move(file); ev._resolution = ev._fp->resolution(); if (ev._fp) {