Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/DataDrivenDMD/src/type.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

"""_
Expand Down
2 changes: 1 addition & 1 deletion lib/DataDrivenLux/test/candidate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions src/basis/build_function.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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 <:
Expand Down Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/basis/type.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Loading