Skip to content
This repository was archived by the owner on Jun 24, 2022. It is now read-only.

Commit 8a99245

Browse files
Update boundary_handling.jl
1 parent 57dd3cc commit 8a99245

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/boundary_handling.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ function BoundaryCallback(bc)
55
tmp = bc(integrator.t,u)
66
integrator.u=pad!(tmp.coefficients,length(integrator.u))
77
end
8-
DiscreteCallback((t,u,integrator)->true,affect!)
8+
DiscreteCallback((u,t,integrator)->true,affect!)
99
end

0 commit comments

Comments
 (0)