Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/common_models/interfaces.jl
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@ end
"""
Extension point: Calculate auxiliary variable values.
Concrete implementations in PowerOperationsModels for specific aux variable types.
Evaluator-bound aux variables get the `AbstractEvaluationData` that produced them
as a fourth argument, so the implementation does not have to look it up.
"""
function calculate_aux_variable_value! end

Expand Down
2 changes: 1 addition & 1 deletion src/core/optimization_container.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1332,7 +1332,7 @@ function calculate_aux_variables!(
@debug "Processing evaluator $(T)"
evaluate!(data, container, system)
for key in evaluator_aux_var_keys
calculate_aux_variable_value!(container, key, system)
calculate_aux_variable_value!(container, key, system, data)
end
end
end
Expand Down
Loading