Skip to content

Commit

Permalink
isdefined removed
Browse files Browse the repository at this point in the history
  • Loading branch information
montyvesselinov committed Sep 10, 2024
1 parent 0310a60 commit d55daa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MadsSensitivityAnalysis.jl
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ Dumps:
"""
function localsa(madsdata::AbstractDict; sinspace::Bool=true, keyword::AbstractString="", filename::AbstractString="", format::AbstractString="", xtitle::AbstractString="", ytitle::AbstractString="Relative local sensitivity", datafiles::Bool=true, restart::Bool=false, imagefiles::Bool=Mads.graphoutput, par::AbstractVector=Vector{Float64}(undef, 0), obs::AbstractVector=Vector{Float64}(undef, 0), J::AbstractMatrix=Array{Float64}(undef, 0, 0))
f_sa, g_sa = Mads.makelocalsafunction(madsdata; restart=restart)
if haskey(ENV, "MADS_NO_PLOT") || haskey(ENV, "MADS_NO_GADFLY") || !isdefined(Mads, :Gadfly)
if haskey(ENV, "MADS_NO_PLOT") || haskey(ENV, "MADS_NO_GADFLY")
imagefiles = false
end
if filename == ""
Expand Down

0 comments on commit d55daa8

Please sign in to comment.