Skip to content

Commit

Permalink
Update src/Nonlinear/evaluator.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Jan 4, 2024
1 parent 18c065b commit 612877a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Nonlinear/evaluator.jl
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function MOI.initialize(evaluator::Evaluator, features::Vector{Symbol})
if evaluator.backend !== nothing
MOI.initialize(evaluator.backend, features)
elseif !isempty(features)
@assert evaluator_backend === nothing # ==> ExprGraphOnly used
@assert evaluator.backend === nothing # ==> ExprGraphOnly used
error(
"Unable to initialize `Nonlinear.Evaluator` because the " *
"following features are not supported: $features",
Expand Down

0 comments on commit 612877a

Please sign in to comment.