preprocessor: fixing bug for OSR optim_weights with covariances

time-shift
Michel Juillard 2010-08-10 20:16:59 +02:00
parent c92f0f8f09
commit 8440c17499
1 changed files with 1 additions and 1 deletions

View File

@ -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";
}
}