From 612877a7661af00a1e7ef5b96b04174307732612 Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Thu, 4 Jan 2024 13:31:23 +1300 Subject: [PATCH] Update src/Nonlinear/evaluator.jl --- src/Nonlinear/evaluator.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",