Skip to content

fmiEvaluatexxx functions cause type mismatch error #122

@olivleno

Description

@olivleno

In fmiExtensions.jl the typing of the input arguments as ::FMICore.FMU2Component causes errors.

Removing the type of comp resolves the issue:

Line 46:

function fmiEvaluateEq(comp, eq::Integer)::fmi2Status

Line 82:

function fmiEvaluateRes(comp, eq::Integer, x::Array{Float64})::Tuple{fmi2Status, Array{Float64}}

Line 121:

function fmiEvaluateJacobian(comp, eqNumber::Integer, x::Array{Float64})::Tuple{fmi2Status, Array{Float64}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions