Skip to content

Commit

Permalink
Replace fmi2ModelVariablesForValueReference and fmi3ModelVariablesFor…
Browse files Browse the repository at this point in the history
…ValueReference
  • Loading branch information
halentin committed Sep 4, 2024
1 parent 80e9151 commit 117cc5a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/md.jl
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ function getStartValue(
starts = []

for vr in vrs
mvs = fmi2ModelVariablesForValueReference(md, vr)
mvs = modelVariablesForValueReference(md, vr)

if length(mvs) == 0
@warn "getStartValue(...): Found no model variable with value reference $(vr)."
Expand Down Expand Up @@ -735,7 +735,7 @@ function getStartValue(
starts = []

for vr in vrs
mvs = fmi3ModelVariablesForValueReference(md, vr)
mvs = modelVariablesForValueReference(md, vr)

if length(mvs) == 0
@warn "getStartValue(...): Found no model variable with value reference $(vr)."
Expand Down Expand Up @@ -766,7 +766,7 @@ function getStartValue(
starts = []

for vr in vrs
mvs = fmi2ModelVariablesForValueReference(c.fmu.modelDescription, vr)
mvs = modelVariablesForValueReference(c.fmu.modelDescription, vr)

if length(mvs) == 0
@warn "fmi2GetStartValue(...): Found no model variable with value reference $(vr)."
Expand Down Expand Up @@ -818,7 +818,7 @@ function getStartValue(
starts = []

for vr in vrs
mvs = fmi3ModelVariablesForValueReference(c.fmu.modelDescription, vr)
mvs = modelVariablesForValueReference(c.fmu.modelDescription, vr)

if length(mvs) == 0
@warn "fmi3GetStartValue(...): Found no model variable with value reference $(vr)."
Expand Down

0 comments on commit 117cc5a

Please sign in to comment.