From 45d581b7a488d9e3874b86dca54ac04dedbf351e Mon Sep 17 00:00:00 2001 From: vasiloglou Date: Thu, 20 Mar 2008 20:35:15 +0000 Subject: [PATCH] Now the submodule works better --- fastlib2/contrib/nvasil/mvu/main.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fastlib2/contrib/nvasil/mvu/main.cc b/fastlib2/contrib/nvasil/mvu/main.cc index f0a81d43fc..f985ac14a3 100644 --- a/fastlib2/contrib/nvasil/mvu/main.cc +++ b/fastlib2/contrib/nvasil/mvu/main.cc @@ -23,16 +23,16 @@ int main(int argc, char *argv[]){ fx_init(argc, argv); - std::string optimized_function=fx_param_str(NULL, "optfun", "mvu"); - std::string data_file=fx_param_str_req(NULL, "data_file"); + std::string optimized_function=fx_param_str(NULL, "opts/optfun", "mvu"); + std::string data_file=fx_param_str_req(NULL, "opts/data_file"); Matrix data_mat; if (data::Load(data_file.c_str(), &data_mat)==SUCCESS_FAIL) { FATAL("Didn't manage to load %s", data_file.c_str()); } datanode *optfun_node; datanode *l_bfgs_node; - l_bfgs_node=fx_submodule(NULL, "", "l_bfgs"); - optfun_node=fx_submodule(NULL, "", "optfun"); + l_bfgs_node=fx_submodule(NULL, "opts/l_bfgs", "l_bfgs"); + optfun_node=fx_submodule(NULL, "opts/l_bfgs", "optfun"); //we need to insert the number of points char buffer[128];