Skip to content

Commit cfed191

Browse files
committed
cleanup
1 parent 3d91fbb commit cfed191

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/IncrInfrDiffEqFactorExt.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function DERelative(
7474
state0::AbstractVector{<:Real} = allocate(getPointIdentity(domain)), # zeros(getDimension(domain)),
7575
state1::AbstractVector{<:Real} = allocate(getPointIdentity(domain)), # zeros(getDimension(domain)),
7676
tspan::Tuple{<:Real, <:Real} = _calcTimespan(Xi),
77-
problemType = DiscreteProblem,
77+
problemType = ODEProblem, # DiscreteProblem,
7878
)
7979
#
8080
datatuple = if 2 < length(Xi)
@@ -84,7 +84,7 @@ function DERelative(
8484
data
8585
end
8686
# forward time problem
87-
fproblem = problemType(f, state0, tspan, datatuple; dt = dt)
87+
fproblem = problemType(f, state0, tspan, datatuple; dt)
8888
# backward time problem
8989
bproblem = problemType(f, state1, (tspan[2], tspan[1]), datatuple; dt = -dt)
9090
# build the IIF recognizable object

0 commit comments

Comments
 (0)