fix gauss tests

This commit is contained in:
Gaspard Jankowiak 2025-02-11 13:42:14 +01:00
commit 0b1a5ad3af
3 changed files with 40 additions and 33 deletions

View file

@ -3,11 +3,7 @@ import Test: @test, @testset
import TaylorTest
import SpecialFunctions: erf
function gauss(p::Vector{Float64}; x::Float64=0.0)
λ, μ, σ = p
return λ / sqrt(2π * σ^2) * exp(-((x - μ) / σ)^2)
end
import TensorOperations as TO
include("trig_functions.jl")
include("gauss.jl")