Skip to content

Commit ad3c4b1

Browse files
committed
Add rational division to number_methods
1 parent 0d2f6b7 commit ad3c4b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/methods.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function number_methods(T, rhs1, rhs2, options=nothing)
3737
skip_basics = options !== nothing ? options == :skipbasics : false
3838
skips = Meta.isexpr(options, [:vcat, :hcat, :vect]) ? Set(options.args) : []
3939
basic_monadic = [-, +]
40-
basic_diadic = [+, -, *, /, \, ^]
40+
basic_diadic = [+, -, *, /, //, \, ^]
4141

4242
rhs2 = :($assert_like(f, Number, a, b); $rhs2)
4343
rhs1 = :($assert_like(f, Number, a); $rhs1)

0 commit comments

Comments
 (0)