Skip to content

Commit

Permalink
just check not-symbolic
Browse files Browse the repository at this point in the history
  • Loading branch information
vyudu committed Jan 24, 2025
1 parent 3c629ac commit 417b386
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/systems/problem_utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -788,10 +788,6 @@ function check_keys(sys, map)
for k in keys(map)
if symbolic_type(k) === NotSymbolic()
push!(badkeys, k)
elseif k isa Symbol
!hasproperty(sys, k) && push!(badkeys, k)
elseif k Set(parameters(sys)) && k Set(unknowns(sys))
push!(badkeys, k)
end
end

Expand Down

0 comments on commit 417b386

Please sign in to comment.