Skip to content

Commit 73d9859

Browse files
mtfishmanclaude
andcommitted
Rename local initialize_subprobleminitialize_subsolve
Sync the apply-PR's local `NestedAlgorithm` definition with the rename landing in #115. Once #115 merges, this local definition will be removed entirely in favor of `AIE.NestedAlgorithm`. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent e58670e commit 73d9859

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/apply/apply_operators.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ using NamedGraphs.GraphsExtensions: all_edges, boundary_edges
1313

1414
abstract type NestedAlgorithm <: AI.Algorithm end
1515

16-
function initialize_subproblem(
16+
function initialize_subsolve(
1717
problem::AI.Problem, algorithm::AI.Algorithm, state::AI.State
1818
)
19-
return throw(MethodError(initialize_subproblem, (problem, algorithm, state)))
19+
return throw(MethodError(initialize_subsolve, (problem, algorithm, state)))
2020
end
2121

2222
function finalize_substate!(
@@ -27,7 +27,7 @@ function finalize_substate!(
2727
end
2828

2929
function AI.step!(problem::AI.Problem, algorithm::NestedAlgorithm, state::AI.State)
30-
subproblem, subalgorithm, substate = initialize_subproblem(problem, algorithm, state)
30+
subproblem, subalgorithm, substate = initialize_subsolve(problem, algorithm, state)
3131
AI.solve!(subproblem, subalgorithm, substate)
3232
finalize_substate!(problem, algorithm, state, substate)
3333
return state
@@ -89,7 +89,7 @@ function AI.initialize_state!(
8989
return state
9090
end
9191

92-
function initialize_subproblem(
92+
function initialize_subsolve(
9393
problem::ApplyOperatorsProblem, algorithm::ApplyOperators,
9494
state::ApplyOperatorsState
9595
)

0 commit comments

Comments
 (0)