Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Bugfix
  • Loading branch information
GuySten committed Jun 26, 2025
commit db18ccf65aebb372e4d29c1f7255b45eb514a839
4 changes: 2 additions & 2 deletions openmc/stats/univariate.py
Original file line number Diff line number Diff line change
Expand Up @@ -1396,10 +1396,10 @@ def merge(
else:
others[0].append(dist)
others[1].append(p*prob)
if discrete:
if discrete[0]:
others[0].append(Discrete.merge(*discrete))
others[1].append(1.0)
if normal:
if normal[0]:
others[0].append(Normal.merge(*normal))
others[1].append(1.0)
if others[1]==[1.0]:
Expand Down