Skip to content

Commit 7eda46f

Browse files
authored
Merge pull request #11 from jnschmid/epistemic_only_fix
Bug fix for cases with purely epistemic uncertainty
2 parents 8885b6e + 052db81 commit 7eda46f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

uqpce/pce/pbox.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ def _generate_aleatory_samples(self):
110110
Creates resample values for aleatory variables
111111
"""
112112
if self.aleat_var_count == 0:
113+
# Still create the attribute with 0 columns for consistency
114+
self.aleat_resample = np.zeros([self.aleat_samps, 0])
113115
return
114116

115117
if self.rank == 0 and self.verbose:

0 commit comments

Comments
 (0)