From c20ad4940c7cd613e3e3c12afe4d0381d01f493f Mon Sep 17 00:00:00 2001 From: Simon Exner Date: Tue, 17 Oct 2023 13:51:04 +0200 Subject: [PATCH] changed logWarn to logWarning --- src/FMI2/ext.jl | 4 ++-- src/FMI2/sens.jl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/FMI2/ext.jl b/src/FMI2/ext.jl index fc829bc..a7b4fb0 100644 --- a/src/FMI2/ext.jl +++ b/src/FMI2/ext.jl @@ -97,7 +97,7 @@ end function dlsym_opt(libHandle, symbol) addr = dlsym(libHandle, symbol; throw_error=false) if addr == nothing - logWarn(fmu, "This FMU does not support function '$symbol'.") + logWarning(fmu, "This FMU does not support function '$symbol'.") addr = Ptr{Cvoid}(C_NULL) end addr @@ -454,7 +454,7 @@ function fmi2Instantiate!(fmu::FMU2; end if !isnothing(component) - logWarn(fmu, "fmi2Instantiate!(...): This component was already registered. This may be because you created the FMU by yourself with FMIExport.jl.") + logWarning(fmu, "fmi2Instantiate!(...): This component was already registered. This may be because you created the FMU by yourself with FMIExport.jl.") else component = FMU2Component(compAddr, fmu) diff --git a/src/FMI2/sens.jl b/src/FMI2/sens.jl index be38e7a..319a704 100644 --- a/src/FMI2/sens.jl +++ b/src/FMI2/sens.jl @@ -84,7 +84,7 @@ function (fmu::FMU2)(;dx::AbstractVector{<:Real}=Vector{fmi2Real}(), if hasCurrentComponent(fmu) c = getCurrentComponent(fmu) else - logWarn(fmu, "No FMU2Component found. Allocating one.") + logWarning(fmu, "No FMU2Component found. Allocating one.") c = fmi2Instantiate!(fmu) fmi2EnterInitializationMode(c) fmi2ExitInitializationMode(c)