We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
MTKParameters
1 parent e563466 commit 793abb5Copy full SHA for 793abb5
src/systems/codegen_utils.jl
@@ -287,7 +287,7 @@ end
287
# The user provided a single buffer/tuple for the parameter object, so wrap that
288
# one in a tuple
289
fargs = ntuple(Val(length(args))) do i
290
- i == paramidx ? :((args[$i],)) : :(args[$i])
+ i == paramidx ? :((args[$i], nothing)) : :(args[$i])
291
end
292
return :($f($(fargs...)))
293
0 commit comments