From 5d5bc53a15ea3e77744285564d4aac26f0c0c731 Mon Sep 17 00:00:00 2001 From: Jonathan Shimwell Date: Mon, 8 Aug 2022 20:46:57 +0100 Subject: [PATCH] Fixing the activity tests @eepeterson Co-authored-by: Ethan Peterson --- openmc/material.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openmc/material.py b/openmc/material.py index c89109bfa6..54ff0b5129 100644 --- a/openmc/material.py +++ b/openmc/material.py @@ -928,9 +928,9 @@ class Material(IDManagerMixin): if units == 'Bq': multiplier = self.volume - elif units == 'Bq/g': - multiplier = 1 elif units == 'Bq/cm3': + multiplier = 1 + elif units == 'Bq/g': multiplier = 1.0 / self.get_mass_density() activity = {}