diff --git a/gtsam_unstable/discrete/examples/schedulingExample.cpp b/gtsam_unstable/discrete/examples/schedulingExample.cpp index 260209e29..0679dcdfa 100644 --- a/gtsam_unstable/discrete/examples/schedulingExample.cpp +++ b/gtsam_unstable/discrete/examples/schedulingExample.cpp @@ -53,16 +53,10 @@ void addStudent(Scheduler& s, size_t i) { } /* ************************************************************************* */ Scheduler largeExample(size_t nrStudents = 7) { - char cCurrentPath[FILENAME_MAX]; - - if (!getcwd(cCurrentPath, sizeof(cCurrentPath))) - { - return errno; - } - - cCurrentPath[sizeof(cCurrentPath) - 1] = '\0'; /* not really required */ - - printf ("The current working directory is %s", cCurrentPath); +// char cCurrentPath[FILENAME_MAX]; +// if (!getcwd(cCurrentPath, sizeof(cCurrentPath))) return errno; +// cCurrentPath[sizeof(cCurrentPath) - 1] = '\0'; /* not really required */ +// printf ("The current working directory is %s", cCurrentPath); string path("../../../gtsam_unstable/discrete/examples/"); Scheduler s(nrStudents, path + "Doodle.csv");