Skip to content

Commit

Permalink
using Requires
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielVandH committed May 26, 2023
1 parent c4dedce commit ba3a1cc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ProfileLikelihood.jl
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ export plot_profiles!
function choose_grid_layout end
SciMLBase.sym_to_index(vars::Integer, prof::ProfileLikelihoodSolution) = vars

@static if !isdefined(Base, :get_extension)
using Requires
end

function __init__()
@static if !isdefined(Base, :get_extension)
@require Makie = "ee78f7c6-11fb-53f2-987a-cfe4a2b5a57a" begin
Expand Down

0 comments on commit ba3a1cc

Please sign in to comment.