From 1dd6c20ad29d85350a78a0acb023f77ecb1ee0dc Mon Sep 17 00:00:00 2001 From: Piotr Konopka Date: Mon, 16 Oct 2023 17:29:46 +0200 Subject: [PATCH] Fix assertion in reordering Aggregators I think this went unnoticed, because assertions might be switched on only in debug builds --- Framework/src/AggregatorRunner.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Framework/src/AggregatorRunner.cxx b/Framework/src/AggregatorRunner.cxx index 0aebcdd270..55e07f3cd2 100644 --- a/Framework/src/AggregatorRunner.cxx +++ b/Framework/src/AggregatorRunner.cxx @@ -404,7 +404,7 @@ void AggregatorRunner::reorderAggregators() ILOG(Error, Ops) << msg << ENDM; BOOST_THROW_EXCEPTION(FatalException() << errinfo_details(msg)); } - assert(results.size() != mAggregators.size()); + assert(results.size() == mAggregators.size()); mAggregators = results; }