Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed May 27, 2024
1 parent a0ac1a3 commit 85c84ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/models/UnivariateNormalDistribution.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions test/test_UnivariateNormalDistribution.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -56,4 +56,4 @@ end

end

ChanceConstraintTests.runtests()
UnivariateNormalDistributionTests.runtests()

0 comments on commit 85c84ff

Please sign in to comment.