Skip to content

Commit 6a304e7

Browse files
committed
Remove debug RGF shim
1 parent a8ea369 commit 6a304e7

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

test/symbolic_events.jl

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1217,19 +1217,4 @@ end
12171217
prob = ODEProblem(ss, [theta => 0.0], (0.0, pi))
12181218
sol = solve(prob, Tsit5(); dtmax = 0.01)
12191219
@test getp(sol, cnt)(sol) == 197 # we get 2 pulses per phase cycle (cos 0 crossing) and we go to 100 cycles; we miss a few due to the initial state
1220-
end
1221-
1222-
import RuntimeGeneratedFunctions
1223-
function (f::RuntimeGeneratedFunctions.RuntimeGeneratedFunction{
1224-
argnames, cache_tag, context_tag,
1225-
id})(args::Vararg{Any, N}) where {N, argnames, cache_tag, context_tag, id}
1226-
try
1227-
RuntimeGeneratedFunctions.generated_callfunc(f, args...)
1228-
catch e
1229-
@error "Caught error in RuntimeGeneratedFunction; source code follows"
1230-
func_expr = Expr(:->, Expr(:tuple, argnames...),
1231-
RuntimeGeneratedFunctions._lookup_body(cache_tag, id))
1232-
@show func_expr
1233-
rethrow(e)
1234-
end
1235-
end
1220+
end

0 commit comments

Comments
 (0)