From a380f6743b1ee67ed7c2f2a973a49221ce277d05 Mon Sep 17 00:00:00 2001
From: Johannes Pfeifer <jpfeifer@gmx.de>
Date: Wed, 8 Jul 2020 14:29:06 +0200
Subject: [PATCH] Output M_

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

diff --git a/src/ComputingTasks.cc b/src/ComputingTasks.cc
index 21224cee..5d9fd4e6 100644
--- a/src/ComputingTasks.cc
+++ b/src/ComputingTasks.cc
@@ -4946,7 +4946,7 @@ MethodOfMomentsStatement::writeOutput(ostream &output, const string &basename, b
       it != options_list.string_options.end())
     output << "options_.graph_format = '" << it->second << "';" << endl;
 
-  output << "[oo_, options_mom_] = method_of_moments(bayestopt_, options_, oo_, estim_params_, M_, matched_moments_, options_mom_);" << endl;  
+  output << "[oo_, options_mom_, M_] = method_of_moments(bayestopt_, options_, oo_, estim_params_, M_, matched_moments_, options_mom_);" << endl;  
 }
 
 void
-- 
GitLab