Skip to content

Commit

Permalink
a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
xtalax committed Aug 7, 2023
1 parent 0559b06 commit caa49cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/diff.jl
Original file line number Diff line number Diff line change
Expand Up @@ -875,4 +875,6 @@ Base.nameof(D::ArrayDifferentialOperator) = Symbol(D.name)
function Base.:(==)(D1::ArrayDifferentialOperator, D2::ArrayDifferentialOperator)
@variables x[1:length(D1.vars)]
all(scalarize(isequal.(D1.vars, D2.vars))) && all(scalarize(isequal.(D1(x), D2(x))))
end
end

# TODO: Add simplification rules for dot and cross products to remove 0 terms and simplify

0 comments on commit caa49cc

Please sign in to comment.