Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dehann committed Nov 9, 2023
1 parent 3d91fbb commit cfed191
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/IncrInfrDiffEqFactorExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function DERelative(
state0::AbstractVector{<:Real} = allocate(getPointIdentity(domain)), # zeros(getDimension(domain)),
state1::AbstractVector{<:Real} = allocate(getPointIdentity(domain)), # zeros(getDimension(domain)),
tspan::Tuple{<:Real, <:Real} = _calcTimespan(Xi),
problemType = DiscreteProblem,
problemType = ODEProblem, # DiscreteProblem,
)
#
datatuple = if 2 < length(Xi)
Expand All @@ -84,7 +84,7 @@ function DERelative(
data
end
# forward time problem
fproblem = problemType(f, state0, tspan, datatuple; dt = dt)
fproblem = problemType(f, state0, tspan, datatuple; dt)
# backward time problem
bproblem = problemType(f, state1, (tspan[2], tspan[1]), datatuple; dt = -dt)
# build the IIF recognizable object
Expand Down

0 comments on commit cfed191

Please sign in to comment.