-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* preparation for FMIBase.jl * fixes for FMIBase
- Loading branch information
Showing
9 changed files
with
527 additions
and
539 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
name = "FMISensitivity" | ||
uuid = "3e748fe5-cd7f-4615-8419-3159287187d2" | ||
authors = ["TT <[email protected]>", "LM <[email protected]>"] | ||
version = "0.1.4" | ||
version = "0.2.0" | ||
|
||
[deps] | ||
FMICore = "8af89139-c281-408e-bce2-3005eb87462f" | ||
FMIBase = "900ee838-d029-460e-b485-d98a826ceef2" | ||
ForwardDiffChainRules = "c9556dd2-1aed-4cfe-8560-1557cf593001" | ||
SciMLSensitivity = "1ed8b502-d754-442c-8d5d-10ac956f44a1" | ||
|
||
[compat] | ||
FMICore = "0.20.0" | ||
FMIBase = "1.0.0" | ||
ForwardDiffChainRules = "0.2.0" | ||
SciMLSensitivity = "6.51.2 - 7.51" | ||
SciMLSensitivity = "7.0 - 7.59" | ||
julia = "1.6" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# | ||
# Copyright (c) 2023 Tobias Thummerer, Lars Mikelsons | ||
# Licensed under the MIT license. See LICENSE file in the project root for details. | ||
# | ||
|
||
import SciMLSensitivity.Zygote: grad_mut, Context | ||
import FMIBase: FMUEvaluationOutput | ||
#grad_mut(av::AbstractVector) = invoke(grad_mut, Tuple{Any}, av) | ||
grad_mut(av::FMUEvaluationOutput) = invoke(grad_mut, Tuple{Any}, av) | ||
#grad_mut(c::Zygote.Context, av::AbstractVector) = invoke(grad_mut, Tuple{Zygote.Context, Any}, c, av) | ||
grad_mut(c::Zygote.Context, av::FMUEvaluationOutput) = invoke(grad_mut, Tuple{Zygote.Context, Any}, c, av) | ||
#grad_mut(av::AbstractVector) = [] |
Oops, something went wrong.
38db752
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
38db752
There was a problem hiding this comment.
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/109244
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.
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: