From 648690a2d9ea459d6adcc04b600db786e29d58e3 Mon Sep 17 00:00:00 2001 From: Houtan Bastani Date: Wed, 4 Apr 2012 11:44:07 +0200 Subject: [PATCH] estimation: instatiate date output as dynDate class --- preprocessor/ComputingTasks.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/preprocessor/ComputingTasks.cc b/preprocessor/ComputingTasks.cc index d80e4d558..c7fc6bffb 100644 --- a/preprocessor/ComputingTasks.cc +++ b/preprocessor/ComputingTasks.cc @@ -1663,10 +1663,10 @@ SubsamplesStatement::writeOutput(ostream &output, const string &basename) const it != subsample_declaration_map.end(); it++, map_indx++) output << "estimation_info.subsamples(subsamples_indx).range_index(" << map_indx << ") = {'" << it->first << "'};" << endl - << "estimation_info.subsamples(subsamples_indx).range(" << map_indx << ").date1 = '" - << it->second.first << "';" << endl - << "estimation_info.subsamples(subsamples_indx).range(" << map_indx << ").date2 = '" - << it->second.second << "';" << endl; + << "estimation_info.subsamples(subsamples_indx).range(" << map_indx << ").date1 = dynDate('" + << it->second.first << "');" << endl + << "estimation_info.subsamples(subsamples_indx).range(" << map_indx << ").date2 = dynDate('" + << it->second.second << "');" << endl; // Initialize associated subsample substructures in estimation_info const SymbolType symb_type = symbol_table.getType(name1);