Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Jul 14, 2018
1 parent 96a5c27 commit 502cfe9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/ode_def_opts.jl
Original file line number Diff line number Diff line change
Expand Up @@ -234,12 +234,6 @@ function ode_def_opts(name::Symbol,opts::Dict{Symbol,Bool},ex::Expr,params...;_M
# Build the Function
f_expr = :((internal_var___du,internal_var___u,internal_var___p,t::Number) -> $pex)

#=
# Add a method which allocates the `du` and returns it instead of being inplace
overloadex = :(((f::$name))(u,p,t::Number) = (du=similar(u); f(du,u,p,t); du)) |> esc
push!(exprs,overloadex)
=#

# Add the t gradient
if tgrad_exists
tgrad_expr = :((internal_var___grad,internal_var___u,internal_var___p,t) -> $tgradex)
Expand Down

0 comments on commit 502cfe9

Please sign in to comment.