From 85c84ff373eb355eb8890a4a8c9556b1bd44a2f7 Mon Sep 17 00:00:00 2001 From: odow Date: Mon, 27 May 2024 16:22:41 +1200 Subject: [PATCH] Update --- src/models/UnivariateNormalDistribution.jl | 5 +++-- test/test_UnivariateNormalDistribution.jl | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/models/UnivariateNormalDistribution.jl b/src/models/UnivariateNormalDistribution.jl index a197676..4162a1e 100644 --- a/src/models/UnivariateNormalDistribution.jl +++ b/src/models/UnivariateNormalDistribution.jl @@ -4,9 +4,10 @@ # in the LICENSE.md file or at https://opensource.org/licenses/MIT. """ - UnivariateNormalDistribution(; mean::Function, covariance::Function) + UnivariateNormalDistribution(; mean::Function, std_dev::Function) -A Gaussian process, represented by the functions `mean(x)` and `covariance(x)`. +A univariate Normal distribution, represented by the functions `mean(x::Vector)` +and `std_dev(x::Vector)`. ## Example diff --git a/test/test_UnivariateNormalDistribution.jl b/test/test_UnivariateNormalDistribution.jl index 69b28be..c95049f 100644 --- a/test/test_UnivariateNormalDistribution.jl +++ b/test/test_UnivariateNormalDistribution.jl @@ -3,7 +3,7 @@ # Use of this source code is governed by an MIT-style license that can be found # in the LICENSE.md file or at https://opensource.org/licenses/MIT. -module ChanceConstraintTests +module UnivariateNormalDistributionTests using JuMP using Test @@ -56,4 +56,4 @@ end end -ChanceConstraintTests.runtests() +UnivariateNormalDistributionTests.runtests()