From 9dfb5567409a697643f60fe1e703243225ea6869 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Tue, 12 Feb 2019 19:09:28 +0100 Subject: [PATCH] k-order DLL: fix bug introduced in 1f7d3beddc For the IntSequence class, the initialization with {} and () are no longer equivalent. --- mex/sources/k_order_perturbation/k_ord_dynare.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mex/sources/k_order_perturbation/k_ord_dynare.cc b/mex/sources/k_order_perturbation/k_ord_dynare.cc index de3389239..12827e5fe 100644 --- a/mex/sources/k_order_perturbation/k_ord_dynare.cc +++ b/mex/sources/k_order_perturbation/k_ord_dynare.cc @@ -164,7 +164,7 @@ KordpDynare::populateDerivativesContainer(const TwoDMatrix &g, int ord, const st // model derivatives FSSparseTensor instance FSSparseTensor *mdTi = (new FSSparseTensor(ord, nJcols, nY)); - IntSequence s{ord, 0}; + IntSequence s(ord, 0); if (ord == 1) {