Skip to content

Commit 6d11970

Browse files
committed
Don't expand sums/differences
1 parent 4f8fb79 commit 6d11970

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/forward.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ end
431431
function evaluate(
432432
::Mult,
433433
arg1::BinaryOperation{Op},
434-
arg2::Union{Monomial,KrD},
434+
arg2::KrD,
435435
) where {Op<:AdditiveOperation}
436436
return evaluate(
437437
Op(),
@@ -442,7 +442,7 @@ end
442442

443443
function evaluate(
444444
::Mult,
445-
arg1::Union{Monomial,KrD},
445+
arg1::KrD,
446446
arg2::BinaryOperation{Op},
447447
) where {Op<:AdditiveOperation}
448448
return evaluate(

0 commit comments

Comments
 (0)