From a13d80e2bdd27e6d183c16a612fba7dac3b217f6 Mon Sep 17 00:00:00 2001 From: Andrew Davis Date: Thu, 13 Dec 2018 15:37:47 +0000 Subject: [PATCH] Missing one review comment, and followed style for generic normal distribution from uniform distribuion --- docs/source/pythonapi/stats.rst | 2 ++ openmc/stats/univariate.py | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/source/pythonapi/stats.rst b/docs/source/pythonapi/stats.rst index f5551a681..6ad0e6b03 100644 --- a/docs/source/pythonapi/stats.rst +++ b/docs/source/pythonapi/stats.rst @@ -20,6 +20,8 @@ Univariate Probability Distributions openmc.stats.Tabular openmc.stats.Legendre openmc.stats.Mixture + openmc.stats.Normal + openmc.stats.Muir Angular Distributions --------------------- diff --git a/openmc/stats/univariate.py b/openmc/stats/univariate.py index f1c73adec..f1565dbbf 100644 --- a/openmc/stats/univariate.py +++ b/openmc/stats/univariate.py @@ -318,16 +318,16 @@ class Normal(Univariate): Parameters ---------- mean_value : float - Mean value of the distribution [dimensionless] + Mean value of the distribution std_dev : float - Standard deviation of the Normal distribution [dimensionsless] + Standard deviation of the Normal distribution Attributes ---------- mean_value : float - Mean of the Normal distribution [dimensionless] + Mean of the Normal distribution std_dev : float - Standard deviation of the Normal distribution [dimensionless] + Standard deviation of the Normal distribution """ def __init__(self, mean_value, std_dev):