Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/dual.jl
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,8 @@ for (M, f, arity) in DiffRules.diffrules()
elseif arity == 2
eval(binary_dual_definition(M, f))
else
error("ForwardDiff currently only knows how to autogenerate Dual definitions for unary and binary functions.")
# error("ForwardDiff currently only knows how to autogenerate Dual definitions for unary and binary functions.")
# However, the presence of N-ary rules need not cause any problems here, they can simply be ignored.
end
end

Expand Down