From cd9aafd9c3a0cd6ec0b77a9e01ce5c039d7bc601 Mon Sep 17 00:00:00 2001 From: GuySten Date: Tue, 12 May 2026 09:01:04 +0300 Subject: [PATCH] error when using point detectors in multi-group mode --- src/tallies/tally.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tallies/tally.cpp b/src/tallies/tally.cpp index f4de125350..2f07b4b36c 100644 --- a/src/tallies/tally.cpp +++ b/src/tallies/tally.cpp @@ -583,6 +583,8 @@ void Tally::set_scores(const vector& scores) materialfrom_present); if (point_present) { + if (!settings::run_CE) + fatal_error("Cannot use point detectors in multi-group mode."); if (simulation::nonvacuum_boundary_present) fatal_error( "Cannot use point detectors with non-vacuum boundary conditions.");