From 5a2c0998712c01555f255748f5f90e937d6175f5 Mon Sep 17 00:00:00 2001
From: Johannes Pfeifer <jpfeifer@gmx.de>
Date: Sun, 10 Dec 2023 08:55:42 +0100
Subject: [PATCH] EP: output results explicitly as opposed to
 assignin-statement

---
 src/ComputingTasks.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/ComputingTasks.cc b/src/ComputingTasks.cc
index 9233aeb0..2ff25dc0 100644
--- a/src/ComputingTasks.cc
+++ b/src/ComputingTasks.cc
@@ -5059,7 +5059,8 @@ ExtendedPathStatement::writeOutput(ostream& output, [[maybe_unused]] const strin
   options_list_new.erase("periods");
   options_list_new.writeOutput(output);
 
-  output << "extended_path([], " << periods << ", [], options_, M_, oo_);" << endl;
+  output << "[Simulated_time_series, oo_] = extended_path([], " << periods
+         << ", [], options_, M_, oo_);" << endl;
 }
 
 void
-- 
GitLab