Skip to content

Commit

Permalink
Merge pull request #49 from dpad/fix/ModelingToolkit-breaks-model-arrays
Browse files Browse the repository at this point in the history
[Bugfix] Temporary fix for dynamical models not working under ModelingToolkit v5.21.0.
  • Loading branch information
dpad committed Jun 28, 2021
2 parents 486e3a3 + e47c3a6 commit 84261f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "OrbitalTrajectories"
uuid = "2b613a20-8d2a-5290-b19f-e06f4bcc2e7d"
authors = ["Dan Padilha"]
version = "0.1.13"
version = "0.1.14"

[deps]
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
Expand Down
2 changes: 1 addition & 1 deletion src/dynamics/dynamical_models.jl
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ has_jacobian(X::Type{<:DiffEqBase.ODEFunction}) = !isnothing(fieldtype(X, :jac))
# The State Transition Matrix (STM) ODE function is defined as follows, including the N^2 Jacobian equations +
# the N first-order equations of motion. [Koon 2011]
# NOTE: the Differential is defined element-wise and flattened to a list.
stm_eqs = simplify.(D.(ϕ) .~ A * ϕ)
stm_eqs = collect(simplify.(D.(ϕ) .~ A * ϕ))

# Create the ODE system and generate its functions
stm_ode = ODESystem(
Expand Down

2 comments on commit 84261f8

@dpad
Copy link
Owner Author

@dpad dpad commented on 84261f8 Jun 28, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/39788

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.14 -m "<description of version>" 84261f8d5a411dd1bcde49256b23a644c27b205a
git push origin v0.1.14

Please sign in to comment.