Skip to content

Commit cd9aafd

Browse files
committed
error when using point detectors in multi-group mode
1 parent 9ef99d3 commit cd9aafd

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/tallies/tally.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -583,6 +583,8 @@ void Tally::set_scores(const vector<std::string>& scores)
583583
materialfrom_present);
584584

585585
if (point_present) {
586+
if (!settings::run_CE)
587+
fatal_error("Cannot use point detectors in multi-group mode.");
586588
if (simulation::nonvacuum_boundary_present)
587589
fatal_error(
588590
"Cannot use point detectors with non-vacuum boundary conditions.");

0 commit comments

Comments
 (0)