Skip to content

Commit

Permalink
refactor: remove SymbolicsExt
Browse files Browse the repository at this point in the history
  • Loading branch information
AayushSabharwal committed Nov 20, 2023
1 parent 5fb4928 commit 064d9f0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 19 deletions.
3 changes: 0 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,13 @@ Requires = "ae029012-a4dd-5104-9daa-d747884805df"

[weakdeps]
SymbolicUtils = "d1185830-fcd6-423d-90d6-eec64667417b"
Symbolics = "0c5d862f-8b57-4792-8d23-62f2024744c7"

[extensions]
SymbolicIndexingInterfaceSymbolicUtilsExt = "SymbolicUtils"
SymbolicIndexingInterfaceSymbolicsExt = "Symbolics"

[compat]
Requires = "1.0"
SymbolicUtils = "1.4"
Symbolics = "5.10"
julia = "1"

[extras]
Expand Down
14 changes: 0 additions & 14 deletions ext/SymbolicIndexingInterfaceSymbolicsExt.jl

This file was deleted.

3 changes: 1 addition & 2 deletions src/SymbolicIndexingInterface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module SymbolicIndexingInterface

using Requires

export ScalarSymbolic, ArraySymbolic, NotSymbolic, symbolic_type, getname
export ScalarSymbolic, ArraySymbolic, NotSymbolic, symbolic_type , getname
include("trait.jl")

export is_variable, variable_index, variable_symbols, is_parameter, parameter_index,
Expand All @@ -15,7 +15,6 @@ include("symbol_cache.jl")

@static if !isdefined(Base, :get_extension)
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 18 in src/SymbolicIndexingInterface.jl

View check run for this annotation

Codecov / codecov/patch

src/SymbolicIndexingInterface.jl#L17-L18

Added lines #L17 - L18 were not covered by tests
end
end
Expand Down

0 comments on commit 064d9f0

Please sign in to comment.