Skip to content

Commit

Permalink
Fixing a small typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tengis-nrl committed Feb 15, 2024
1 parent f82a1a3 commit df66cfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/optimization_container.jl
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@ function get_aux_variable(container::OptimizationContainer, key::AuxVarKey)
aux = get(container.aux_variables, key, nothing)
if aux === nothing
name = encode_key(key)
keys = encode_key.(get_variable_keys(container))
keys = encode_key.(get_aux_variable_keys(container))

Check warning on line 929 in src/core/optimization_container.jl

View check run for this annotation

Codecov / codecov/patch

src/core/optimization_container.jl#L929

Added line #L929 was not covered by tests
throw(IS.InvalidValue("Auxiliary variable $name is not stored. $keys"))
end
return aux
Expand Down

0 comments on commit df66cfb

Please sign in to comment.