Skip to content

Commit ec0795e

Browse files
fix: fix remake_buffer for MTKParameters
1 parent f640c1b commit ec0795e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/systems/parameter_buffer.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,7 @@ function SymbolicIndexingInterface.remake_buffer(sys, oldbuf::MTKParameters, val
350350
if newbuf.dependent_update_oop !== nothing
351351
@set! newbuf.dependent = newbuf.dependent_update_oop(newbuf...)
352352
end
353+
return newbuf
353354
end
354355

355356
_subarrays(v::AbstractVector) = isempty(v) ? () : (v,)

0 commit comments

Comments
 (0)