Skip to content

Commit

Permalink
add eventIndicatorValueReferences to ModelDescription struct (#73)
Browse files Browse the repository at this point in the history
* add eventIndicatorValueReferences to ModelDescription stuct

* Update Project.toml

---------

Co-authored-by: ThummeTo <83663542+ThummeTo@users.noreply.github.com>
  • Loading branch information
halentin and ThummeTo authored Sep 16, 2024
1 parent 78dc5f1 commit e23fa7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "FMICore"
uuid = "8af89139-c281-408e-bce2-3005eb87462f"
authors = ["TT <tobias.thummerer@informatik.uni-augsburg.de>", "LM <lars.mikelsons@informatik.uni-augsburg.de>", "JK <josef.kircher@student.uni-augsburg.de>"]
version = "1.0.2"
version = "1.1.0"

[deps]
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
Expand Down
2 changes: 2 additions & 0 deletions src/FMI3/ctype.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1128,6 +1128,7 @@ mutable struct fmi3ModelDescription <: fmiModelDescription
outputValueReferences::Array{fmi3ValueReference}
stateValueReferences::Array{fmi3ValueReference}
derivativeValueReferences::Array{fmi3ValueReference}
eventIndicatorValueReferences::Array{fmi3ValueReference}
intermediateUpdateValueReferences::Array{fmi3ValueReference}
parameterValueReferences::Array{fmi3ValueReference}
stringValueReferences::Dict{String,fmi3ValueReference}
Expand Down Expand Up @@ -1160,6 +1161,7 @@ mutable struct fmi3ModelDescription <: fmiModelDescription
inst.outputValueReferences = []
inst.stateValueReferences = []
inst.derivativeValueReferences = []
inst.eventIndicatorValueReferences = []
inst.parameterValueReferences = []

return inst
Expand Down

2 comments on commit e23fa7a

@ThummeTo
Copy link
Owner

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

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 v1.1.0 -m "<description of version>" e23fa7adbad548b336fc3f53564116d604d7ac33
git push origin v1.1.0

Please sign in to comment.