diff --git a/ComputingTasks.cc b/ComputingTasks.cc
index 24c3f12d3fa7af0bb7c444971f14d8acc196ea41..6618dce0df76447642d6ea6ab64d9d2d613e64a2 100644
--- a/ComputingTasks.cc
+++ b/ComputingTasks.cc
@@ -3200,7 +3200,7 @@ ExtendedPathStatement::writeOutput(ostream &output, const string &basename, bool
       output << "options_." << it->first << " = " << it->second << ";" << endl;
 
   output << "extended_path([], " << options_list.num_options.find("periods")->second
-         << ", options_, M_, oo_);" << endl;
+         << ", [], options_, M_, oo_);" << endl;
 }
 
 ModelDiagnosticsStatement::ModelDiagnosticsStatement()