Skip to content

Commit

Permalink
Fix function name
Browse files Browse the repository at this point in the history
  • Loading branch information
Lars Ivar Hatledal committed Oct 11, 2019
1 parent a1e1385 commit f212de9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fmi-import/src/main/kotlin/no/ntnu/ihb/fmi4j/extensions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ fun VariableWriter.writeReal(vr: ValueReference, value: Real): FmiStatus {
return write(longArrayOf(vr), realArrayOf(value))
}

fun SimpleModelInstance.writeInteger(name: String, value: Real): FmiStatus {
fun SimpleModelInstance.writeReal(name: String, value: Real): FmiStatus {
return writeReal(modelVariables.getValueReference(name), value)
}

Expand Down

0 comments on commit f212de9

Please sign in to comment.