mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Temporary fix to address precision discrepancies with weightfactors numpy array
This commit is contained in:
parent
5083ac2290
commit
94d29e154e
1 changed files with 1 additions and 1 deletions
|
|
@ -1150,7 +1150,7 @@ class CMFDRun(object):
|
|||
with np.errstate(divide='ignore', invalid='ignore'):
|
||||
self._weightfactors = (np.divide(self._cmfd_src * norm,
|
||||
sourcecounts, where=div_condition,
|
||||
out=np.ones_like(self._cmfd_src)))
|
||||
out=np.ones_like(self._cmfd_src), dtype='float16'))
|
||||
|
||||
if not self._feedback:
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue