Skip to content

Commit 6614a93

Browse files
Keep MIRK direct eval stages primal
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
1 parent 1628619 commit 6614a93

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/BoundaryValueDiffEqMIRK/src/interpolation.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ end
206206
@inline __build_interpolation(cache::MIRKCache, u::AbstractVector) = MIRKInterpolation(cache.mesh, u, cache)
207207

208208
@inline __stage_values(k, prototype) = k
209-
@inline __stage_values(k::PreallocationTools.DiffCache, prototype) = get_tmp(k, prototype)
209+
@inline __stage_values(k::PreallocationTools.DiffCache, prototype) = k.du
210210

211211
@inline __copy_stage_values(k, prototype) = copy(k)
212212
@inline __copy_stage_values(k::PreallocationTools.DiffCache, prototype) = copy(get_tmp(k, prototype))

0 commit comments

Comments
 (0)