diff --git a/lib/DataDrivenDMD/src/type.jl b/lib/DataDrivenDMD/src/type.jl index b6b76c22..b67dbdcd 100644 --- a/lib/DataDrivenDMD/src/type.jl +++ b/lib/DataDrivenDMD/src/type.jl @@ -101,7 +101,7 @@ Return the approximation of the discrete Koopman operator stored in `k`. """ operator(k::Koopman{<:Any, <:Any, <:Any, true}) = __get_K(k) function operator(k::Koopman{<:Any, <:Any, <:Any, false}) - throw(AssertionError("Koopman is continouos.")) + throw(AssertionError("Koopman is continuous.")) end """_ diff --git a/lib/DataDrivenLux/test/candidate.jl b/lib/DataDrivenLux/test/candidate.jl index e7cf466e..f3099989 100644 --- a/lib/DataDrivenLux/test/candidate.jl +++ b/lib/DataDrivenLux/test/candidate.jl @@ -30,7 +30,7 @@ using StableRNGs end # Broken for now since NaNMath.sin doesnt work with IntervalArithmetic -# @testset "Candidate with parametes" begin +# @testset "Candidate with parameters" begin # fs = (exp,) # arities = (1,) # dag = LayeredDAG(1, 1, 1, arities, fs, skip = true) diff --git a/src/basis/build_function.jl b/src/basis/build_function.jl index 1a70e12b..087233fe 100644 --- a/src/basis/build_function.jl +++ b/src/basis/build_function.jl @@ -60,7 +60,7 @@ function (f::DataDrivenFunction{false, true})(u::AbstractVector, p::P, t::Number _apply_function(f, __EMPTY_VECTOR, u, p, t, c) end -# With implict, without controls +# With implicit, without controls function (f::DataDrivenFunction{true, false})(du::AbstractVector, u::AbstractVector, p::P, t::Number) where { P <: @@ -100,7 +100,7 @@ function (f::DataDrivenFunction{false, true})(res::AbstractVector, u::AbstractVe _apply_function!(f, res, __EMPTY_VECTOR, u, p, t, c) end -# With implict, without controls +# With implicit, without controls function (f::DataDrivenFunction{true, false})(res::AbstractVector, du::AbstractVector, u::AbstractVector, p::P, t::Number) where { diff --git a/src/basis/type.jl b/src/basis/type.jl index 26780572..c2dd58c0 100644 --- a/src/basis/type.jl +++ b/src/basis/type.jl @@ -305,7 +305,7 @@ function (b::Basis{false, true})(u::AbstractVector, f(u, p, t, c) end -# With implict, without controls +# With implicit, without controls function (b::Basis{true, false})(du::AbstractVector, u::AbstractVector, p::P = parameters(b), t::Number = get_iv(b)) where {