Skip to content

Commit

Permalink
Update support of GeneralizedGenerated to 0.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dpad committed Mar 20, 2021
1 parent 1dd9814 commit 74f86b4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ DocStringExtensions = "0.8"
Downloads = "1.3.0"
FiniteDiff = "2.7.2"
ForwardDiff = "0.10.14"
GeneralizedGenerated = "0.2.8, 0.3"
GeneralizedGenerated = "0.3.2"
KernelDensity = "0.6.2"
LineSearches = "7.1.1"
Memoize = "0.4.4"
Expand Down
14 changes: 0 additions & 14 deletions src/OrbitalTrajectories.jl
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
module OrbitalTrajectories

using Reexport
using GeneralizedGenerated: NGG

function __init__()
# XXX: Ensure that NGG is initialized appropriately, so that
# GeneralizedGenerated functions work properly. See the NGG_modules constant.
map(NGG.module_index, NGG_modules)
nothing
end

#----------#
# INCLUDES #
Expand All @@ -24,10 +16,4 @@ module OrbitalTrajectories
@reexport using OrbitalTrajectories.Dynamics
@reexport using OrbitalTrajectories.SpiceUtils

#-----------#
# CONSTANTS #
#-----------#
# Output of this gives the order that we should touch module_index() in __init__
const NGG_modules = NGG._modules

end # module

0 comments on commit 74f86b4

Please sign in to comment.