Skip to content

Commit

Permalink
fix: move Requires.jl import
Browse files Browse the repository at this point in the history
  • Loading branch information
AayushSabharwal committed Oct 23, 2023
1 parent 51ad41f commit 66e59f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/SymbolicIndexingInterface.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module SymbolicIndexingInterface

using Requires

export Symbolic, NotSymbolic, issymbolic
include("trait.jl")

Expand All @@ -8,7 +10,6 @@ export is_variable, has_static_variable, variable_index, is_parameter, parameter
include("interface.jl")

@static if !isdefined(Base, :get_extension)
using Requires
function __init__()
@require Symbolics="0c5d862f-8b57-4792-8d23-62f2024744c7" include("../ext/SymbolicIndexingInterfaceSymbolicsExt.jl")
@require SymbolicUtils="d1185830-fcd6-423d-90d6-eec64667417b" include("../ext/SymbolicIndexingInterfaceSymbolicUtilsExt.jl")

Check warning on line 15 in src/SymbolicIndexingInterface.jl

View check run for this annotation

Codecov / codecov/patch

src/SymbolicIndexingInterface.jl#L13-L15

Added lines #L13 - L15 were not covered by tests
Expand Down

0 comments on commit 66e59f2

Please sign in to comment.