diff --git a/preprocessor/DynamicModel.cc b/preprocessor/DynamicModel.cc index f3c2b8981..794bf57e5 100644 --- a/preprocessor/DynamicModel.cc +++ b/preprocessor/DynamicModel.cc @@ -1576,6 +1576,7 @@ DynamicModel::writeDynamicJuliaFile(const string &basename) const } output << "module " << basename << "Dynamic" << endl << endl + << "using Utils" << endl << endl << "export getDynamicFunction" << endl << endl << "function getDynamicFunction()" << endl << " dynamic!" << endl diff --git a/preprocessor/StaticModel.cc b/preprocessor/StaticModel.cc index 425b9618f..5e75e629b 100644 --- a/preprocessor/StaticModel.cc +++ b/preprocessor/StaticModel.cc @@ -1589,6 +1589,7 @@ StaticModel::writeStaticJuliaFile(const string &basename) const } output << "module " << basename << "Static" << endl << endl + << "using Utils" << endl << endl << "export getStaticFunction" << endl << endl << "function getStaticFunction()" << endl << " static!" << endl