diff --git a/fmi-import/src/main/kotlin/no/ntnu/ihb/fmi4j/importer/fmi1/AbstractModelInstance.kt b/fmi-import/src/main/kotlin/no/ntnu/ihb/fmi4j/importer/fmi1/AbstractModelInstance.kt index 77e07e5d..b712f348 100644 --- a/fmi-import/src/main/kotlin/no/ntnu/ihb/fmi4j/importer/fmi1/AbstractModelInstance.kt +++ b/fmi-import/src/main/kotlin/no/ntnu/ihb/fmi4j/importer/fmi1/AbstractModelInstance.kt @@ -126,10 +126,6 @@ abstract class AbstractModelInstance 0 - return (wrapper.initialize(toleranceControlled, relativeTolerance).isOK()).also { - wrapper.lastStatus = FmiStatus.OK - } + return wrapper.initialize(toleranceControlled, relativeTolerance).isOK() } override fun reset(): Boolean {