From 117cc5a26f6d9802d72acf3135de4a25744bb9c1 Mon Sep 17 00:00:00 2001 From: halentin Date: Wed, 4 Sep 2024 13:42:18 +0000 Subject: [PATCH] Replace fmi2ModelVariablesForValueReference and fmi3ModelVariablesForValueReference --- src/md.jl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/md.jl b/src/md.jl index 4f5ab04..9e17fec 100644 --- a/src/md.jl +++ b/src/md.jl @@ -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)." @@ -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)." @@ -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)." @@ -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)."