Skip to content

Commit

Permalink
Messy rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaibhavdixit02 committed Apr 25, 2024
1 parent 5fa8545 commit ec0383d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1069,7 +1069,6 @@ end

function -(a::SN)
!issafecanon(*, a) && return term(-, a)
!nometa(b) && return term(-, a)
!nometa(a) && return term(-, a)
isadd(a) ? Add(sub_t(a), -a.coeff, mapvalues((_,v) -> -v, a.dict)) :
Add(sub_t(a), makeadd(-1, 0, a)...)
Expand Down

0 comments on commit ec0383d

Please sign in to comment.