Skip to content

Commit d8c1e58

Browse files
fixup! fix: improve inference of several utility functions
1 parent 3d05173 commit d8c1e58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ ModelingToolkit.collect_applied_operators(eq, Differential) == Set([D(y)])
531531
532532
The difference compared to `collect_operator_variables` is that `collect_operator_variables` returns the variable without the operator applied.
533533
"""
534-
function collect_applied_operators(x::SymbolicT, ::Type{op}) where {op}
534+
function collect_applied_operators(x, ::Type{op}) where {op}
535535
v = Set{SymbolicT}()
536536
SU.search_variables!(v, x; is_atomic = OnlyOperatorIsAtomic{op}())
537537
return v

0 commit comments

Comments
 (0)