diff --git a/src/cosserat-continuum.cc b/src/cosserat-continuum.cc index 9029c25248891d0c0e8614d1eca0ad72de6c7911..32f7d64b274bef137f7f622e0f17c16d5762fab3 100644 --- a/src/cosserat-continuum.cc +++ b/src/cosserat-continuum.cc @@ -130,7 +130,8 @@ int main (int argc, char *argv[]) try //feenableexcept(FE_INVALID); Python::runStream() << std::endl << "import sys" - << std::endl << "sys.path.append('/home/sander/dune/dune-gfe/problems/')" + << std::endl << "import os" + << std::endl << "sys.path.append(os.getcwd() + '/../../problems/')" << std::endl; using namespace TypeTree::Indices;