From 8440c17499157b0aa5b6d40b08e8df6824bf344b Mon Sep 17 00:00:00 2001 From: Michel Juillard Date: Tue, 10 Aug 2010 20:16:59 +0200 Subject: [PATCH] preprocessor: fixing bug for OSR optim_weights with covariances --- preprocessor/ComputingTasks.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/preprocessor/ComputingTasks.cc b/preprocessor/ComputingTasks.cc index 3e681ef6d..8030fe59d 100644 --- a/preprocessor/ComputingTasks.cc +++ b/preprocessor/ComputingTasks.cc @@ -821,7 +821,7 @@ OptimWeightsStatement::writeOutput(ostream &output, const string &basename) cons output << "optim_weights_(" << id1 << "," << id2 << ") = "; value->writeOutput(output); output << ";" << endl; - output << "obj_var_ = [obj_var_; " << id1 << " " << id2 << "];\n"; + output << "obj_var_ = [obj_var_; " << id1 << "; " << id2 << "];\n"; } }