Skip to content

Commit

Permalink
don't need to avoid parallelism if must_run_before
Browse files Browse the repository at this point in the history
  • Loading branch information
MasonProtter committed Jan 14, 2025
1 parent 495edee commit af404d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GraphDynamics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ end
"""
must_run_before(::Type{T}, ::Type{U})
Overload this function to tell the ODE solver that subsystems of type `T` must run before subsystems of type `U`. Default `false`. If you add methods to this function, you must not use a parallel scheduler.
Overload this function to tell the ODE solver that subsystems of type `T` must run before subsystems of type `U`. Default `false`.
"""
must_run_before(::Type{T}, ::Type{U}) where {T, U} = false

Expand Down

2 comments on commit af404d6

@MasonProtter
Copy link
Collaborator Author

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/123016

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

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.2.3 -m "<description of version>" af404d6d0d377e8e8e10d37cf8a53d4a952e8134
git push origin v0.2.3

Please sign in to comment.