diff --git a/src/Nonlinear/evaluator.jl b/src/Nonlinear/evaluator.jl index cf0e4a922f..a7c022b9fa 100644 --- a/src/Nonlinear/evaluator.jl +++ b/src/Nonlinear/evaluator.jl @@ -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",