Skip to content

Commit ba61640

Browse files
author
Shashi Gowda
committed
fix
1 parent 1c2d5bf commit ba61640

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
@@ -1065,7 +1065,7 @@ function -(a::SN)
10651065
end
10661066

10671067
function -(a::SN, b::SN)
1068-
(!issafecanon(+, a) || issafecanon(*, b)) && return term(-, a, b)
1068+
(!issafecanon(+, a) || !issafecanon(*, b)) && return term(-, a, b)
10691069
isadd(a) && isadd(b) ? Add(sub_t(a,b),
10701070
a.coeff - b.coeff,
10711071
_merge(-, a.dict,

0 commit comments

Comments
 (0)