Skip to content

Commit be8f6c2

Browse files
fix: re-add normalize_to_differential
1 parent 569a457 commit be8f6c2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/variables.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ setirreducible(x, v::Bool) = setmetadata(x, VariableIrreducible, v)
135135
state_priority(x::Union{Num, Symbolics.Arr}) = state_priority(unwrap(x))
136136
state_priority(x) = convert(Float64, getmetadata(x, VariableStatePriority, 0.0))::Float64
137137

138+
normalize_to_differential(x) = x
139+
138140
function default_toterm(x)
139141
if iscall(x) && (op = operation(x)) isa Operator
140142
if !(op isa Differential)

0 commit comments

Comments
 (0)