Skip to content

Commit

Permalink
Fix handling of Symbolics v5
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Apr 27, 2023
1 parent c127fb5 commit 9615177
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/basis/utils.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## Create linear independent basis
count_operation(x::Number, op::Function, nested::Bool = true) = 0
count_operation(x::Sym, op::Function, nested::Bool = true) = 0
count_operation(x::SymbolicUtils.BasicSymbolic, op::Function, nested::Bool = true) = 0
function count_operation(x::Num, op::Function, nested::Bool = true)
count_operation(value(x), op, nested)
end
Expand Down

0 comments on commit 9615177

Please sign in to comment.