Skip to content

Commit b8e160c

Browse files
committed
missing comma
1 parent 1c0a070 commit b8e160c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/operators/binaryops.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function typedbinopconstexpr(jlfunc, builtin, namestr, xtype, ytype, outtype)
4848
if builtin
4949
constquote = :(const $(esc(namesym)) = TypedBinaryOperator{$(esc(:typeof))($(esc(jlfunc))), $(esc(xsym)), $(esc(ysym)), $(esc(outsym))}(true, false, $namestr, libgb.GrB_BinaryOp(), $(esc(jlfunc))))
5050
else
51-
constquote = :(const $(esc(namesym)) = TypedBinaryOperator($(esc(jlfunc)), $(esc(xsym)), $(esc(ysym)) $(esc(outsym))))
51+
constquote = :(const $(esc(namesym)) = TypedBinaryOperator($(esc(jlfunc)), $(esc(xsym)), $(esc(ysym)), $(esc(outsym))))
5252
end
5353
dispatchquote = if xtype === :Any && ytype === :Any
5454
:((::$(esc(:BinaryOp)){$(esc(:typeof))($(esc(jlfunc)))})(::Type, ::Type) = $(esc(namesym)))
@@ -108,6 +108,7 @@ macro binop(expr...)
108108
ytypes = xtypes
109109
end
110110
outtypes = symtotype(types.args[3])
111+
println(outtypes)
111112
constquote = typedbinopexprs(jlfunc, builtin, name, xtypes, ytypes, outtypes)
112113
dispatchquote = Base.remove_linenums!(quote
113114
$newfunc

0 commit comments

Comments
 (0)