From 5b3ee6feb68955acc4acdda43e633eff5c1297ed Mon Sep 17 00:00:00 2001 From: Jurgen Van Gael Date: Thu, 21 Jan 2010 17:54:40 +0800 Subject: [PATCH] Documentation fixes. --- src/Numerics/Distributions/Discrete/Binomial.cs | 2 +- src/Numerics/Distributions/Discrete/Categorical.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Numerics/Distributions/Discrete/Binomial.cs b/src/Numerics/Distributions/Discrete/Binomial.cs index 720dfb35..07b3966d 100644 --- a/src/Numerics/Distributions/Discrete/Binomial.cs +++ b/src/Numerics/Distributions/Discrete/Binomial.cs @@ -86,7 +86,7 @@ namespace MathNet.Numerics.Distributions /// /// The success probability of a trial. /// The number of trials. - /// false is not in the interval [0.0,1.0] or is negative, true otherwise. + /// false is not in the interval [0.0,1.0] or is negative, true otherwise. private static bool IsValidParameterSet(double p, int n) { if(p < 0.0 || p > 1.0 || Double.IsNaN(p)) diff --git a/src/Numerics/Distributions/Discrete/Categorical.cs b/src/Numerics/Distributions/Discrete/Categorical.cs index 75a4e7af..564c62ad 100644 --- a/src/Numerics/Distributions/Discrete/Categorical.cs +++ b/src/Numerics/Distributions/Discrete/Categorical.cs @@ -76,7 +76,7 @@ namespace MathNet.Numerics.Distributions /// will not be automatically updated when the histogram changes. The categorical distribution will have /// one value for each bucket and a probability for that value proportional to the bucket count. /// - /// The histogram from which to create the categorical variable. + /// The histogram from which to create the categorical variable. public Categorical(Histogram histogram) { if (histogram == null)