From 26166553259ae846ebaf92b97769111e149d6f50 Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Thu, 18 Jul 2019 16:24:37 -0500 Subject: [PATCH] Fix use of ENDF_FLOAT_RE in ace.py --- openmc/data/ace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmc/data/ace.py b/openmc/data/ace.py index b93de0d24c..ee194560b4 100644 --- a/openmc/data/ace.py +++ b/openmc/data/ace.py @@ -411,7 +411,7 @@ class Library(EqualityMixin): # after it). If it's too short, then we apply the ENDF float regular # expression. We don't do this by default because it's expensive! if xss.size != nxs[1] + 1: - datastr = ENDF_FLOAT_RE.sub(r'\1e\2', datastr) + datastr = ENDF_FLOAT_RE.sub(r'\1e\2\3', datastr) xss = np.fromstring(datastr, sep=' ') assert xss.size == nxs[1] + 1