Skip to content

Commit 1517c40

Browse files
committed
fix typo
1 parent 1a89dd5 commit 1517c40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@ end
10431043
+(a::SN) = a
10441044

10451045
function -(a::SN)
1046-
!nometa(b) && return term(-, a)
1046+
!nometa(a) && return term(-, a)
10471047
isadd(a) ? Add(sub_t(a), -a.coeff, mapvalues((_,v) -> -v, a.dict)) :
10481048
Add(sub_t(a), makeadd(-1, 0, a)...)
10491049
end

0 commit comments

Comments
 (0)