From 49fa876444a527d9f1f2fdd0b1b952af39d476c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org> Date: Thu, 20 Jan 2022 16:16:58 +0100 Subject: [PATCH] =?UTF-8?q?Add=20missing=20=E2=80=9Ctime=5Fshift=E2=80=9D?= =?UTF-8?q?=20option=20to=20JSON=20output=20of=20var=5Fexpectation=5Fmodel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/SubModel.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/SubModel.cc b/src/SubModel.cc index bc0a3a48..abba3aff 100644 --- a/src/SubModel.cc +++ b/src/SubModel.cc @@ -958,7 +958,9 @@ VarExpectationModelTable::writeJsonOutput(ostream &output) const << R"("horizon": ")" << horizon.at(name) << R"(", )" << R"("discount": ")"; discount.at(name)->writeOutput(output); - output << R"("})"; + output << R"(", )" + << R"("time_shift": )" << time_shift.at(name) + << R"(})"; } } -- GitLab