Skip to content

minor bug in fmi3GetBinary & fmi3SetBinary #595

@masoud-najafi

Description

@masoud-najafi

In the API fmi3GetBinary (in fmi3Functions.c ) this piece of code is missing.

if (S->isDirtyValues) { 
    CALL(calculateValues(S)); 
    S->isDirtyValues = false; 
} 

Also in
fmi3SetBinary
you need to add this line:

if (nValueReferences > 0) S->isDirtyValues = true; 

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions