diff --git a/src/MadsFunc.jl b/src/MadsFunc.jl index 570f9d71..2e186460 100644 --- a/src/MadsFunc.jl +++ b/src/MadsFunc.jl @@ -317,7 +317,7 @@ function makemadscommandfunction(madsdata_in::AbstractDict; obskeys::AbstractVec "MADS command function with expressions" function madscommandfunctionwithexpressions(paramsnoexpressions::AbstractDict) parameterswithexpressions = evaluatemadsexpressions(madsdata, paramsnoexpressions) - local out + local out = nothing try out = madscommandfunction(parameterswithexpressions) catch errmsg