Skip to content

Commit

Permalink
Fix usage of AbstractVectorOfArray
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikQQY committed Dec 11, 2024
1 parent cd9fe82 commit 86a2d26
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/BoundaryValueDiffEqMIRK/src/mirk.jl
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ end

# Constructing the Nonlinear Problem
function __construct_nlproblem(
cache::MIRKCache{iip}, y::AbstractVector, y₀::VectorOfArray) where {iip}
cache::MIRKCache{iip}, y::AbstractVector, y₀::AbstractVectorOfArray) where {iip}
pt = cache.problem_type

eval_sol = EvalSol(y₀.u, cache.mesh, cache.alg, cache.k_discrete)
Expand Down
4 changes: 2 additions & 2 deletions lib/BoundaryValueDiffEqMIRK/test/nlls_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ end
end

function bc!(residual, sol, p, t)
y1 = first(sol)
y2 = last(sol)
y1 = sol(0.0)
y2 = sol(0.5)
R0_u = reshape(@view(y1[4:12]), 3, 3)
RL_u = reshape(@view(y2[4:12]), 3, 3)

Expand Down

0 comments on commit 86a2d26

Please sign in to comment.