From 86db2423d237bf680435440e839b561ea360ad7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Fri, 11 Jun 2010 19:18:16 +0200 Subject: [PATCH] Added new loglikelihood DLL (does not yet contain prior computation, only the likelihood) --- SymbolTable.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/SymbolTable.cc b/SymbolTable.cc index ae4af72c..b3e4ad12 100644 --- a/SymbolTable.cc +++ b/SymbolTable.cc @@ -250,6 +250,12 @@ SymbolTable::writeOutput(ostream &output) const throw (NotYetFrozenException) for (vector::const_iterator it = varobs.begin(); it != varobs.end(); it++) output << "options_.varobs = strvcat(options_.varobs, '" << getName(*it) << "');" << endl; + + output << "options_.varobs_id = [ "; + for (vector::const_iterator it = varobs.begin(); + it != varobs.end(); it++) + output << getTypeSpecificID(*it)+1 << " "; + output << " ];" << endl; } }