From 2ea3466206f48b2e19c77bf216925542c522ec58 Mon Sep 17 00:00:00 2001 From: Will Boyd Date: Sat, 14 May 2016 22:29:38 -0400 Subject: [PATCH] Hotfix for making elements isotropic in lab through Material.make_isotropic_in_lab() method --- openmc/material.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmc/material.py b/openmc/material.py index e9a74f1e75..bf66cf11d4 100644 --- a/openmc/material.py +++ b/openmc/material.py @@ -506,7 +506,7 @@ class Material(object): for nuclide_name in self._nuclides: self._nuclides[nuclide_name][0].scattering = 'iso-in-lab' for element_name in self._elements: - self._element[element_name][0].scattering = 'iso-in-lab' + self._elements[element_name][0].scattering = 'iso-in-lab' def get_all_nuclides(self): """Returns all nuclides in the material