From 3f37d9692c49e6b70b8cc680406897a4542b4560 Mon Sep 17 00:00:00 2001
From: Johannes Pfeifer <jpfeifer@gmx.de>
Date: Sun, 15 Aug 2021 20:44:24 +0200
Subject: [PATCH] method_of_moments: move to namespace

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

diff --git a/src/ComputingTasks.cc b/src/ComputingTasks.cc
index 98160e51..859ccfc6 100644
--- a/src/ComputingTasks.cc
+++ b/src/ComputingTasks.cc
@@ -4965,7 +4965,7 @@ MethodOfMomentsStatement::writeOutput(ostream &output, const string &basename, b
 {
   options_list.writeOutput(output, "options_mom_");
 
-  output << "[oo_, options_mom_, M_] = method_of_moments(bayestopt_, options_, oo_, estim_params_, M_, options_mom_);" << endl;  
+  output << "[oo_, options_mom_, M_] = mom.run(bayestopt_, options_, oo_, estim_params_, M_, options_mom_);" << endl;  
 }
 
 void
-- 
GitLab