Skip to content

Commit acaf8e3

Browse files
YingboMashashi
andcommitted
Fix overload ambiguity
Co-authored-by: "Shashi Gowda" <[email protected]>
1 parent dafe2e6 commit acaf8e3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/methods.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ end
7474

7575
@number_methods(Sym, term(f, a), term(f, a, b), skipbasics)
7676
@number_methods(Term, term(f, a), term(f, a, b), skipbasics)
77-
@number_methods(Symbolic{<:Number}, term(f, a), term(f, a, b), skipbasics)
77+
@number_methods(Add, term(f, a), term(f, a, b), skipbasics)
78+
@number_methods(Mul, term(f, a), term(f, a, b), skipbasics)
79+
@number_methods(Pow, term(f, a), term(f, a, b), skipbasics)
7880

7981
for f in diadic
8082
@eval promote_symtype(::$(typeof(f)),

0 commit comments

Comments
 (0)