mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
added warning for sampling/reconstruction
This commit is contained in:
parent
81a15a9cb2
commit
010acb8d1f
1 changed files with 4 additions and 0 deletions
|
|
@ -219,6 +219,10 @@ class ResonanceCovarianceRange:
|
|||
List of samples size `n_samples`
|
||||
|
||||
"""
|
||||
warn_str = 'Sampling routine does not guarantee positive values for '\
|
||||
'parameters. This can lead to undefined behavior in the '\
|
||||
'reconstruction routine.'
|
||||
warnings.warn(warn_str)
|
||||
if not use_subset:
|
||||
parameters = self.parameters
|
||||
cov = self.covariance
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue