From 863fa2de1c04d2a33aef042adacdb78dae4d0ae1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Tue, 15 Feb 2022 13:06:59 +0100 Subject: [PATCH] =?UTF-8?q?Bytecode:=20perfect=20foresight=20simulation=20?= =?UTF-8?q?of=20*linear*=20=E2=80=9CSolve=20forward=20simple/complete?= =?UTF-8?q?=E2=80=9D=20blocks=20was=20giving=20was=20results?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mex/sources/bytecode/SparseMatrix.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mex/sources/bytecode/SparseMatrix.cc b/mex/sources/bytecode/SparseMatrix.cc index f58273c82..c36bbc708 100644 --- a/mex/sources/bytecode/SparseMatrix.cc +++ b/mex/sources/bytecode/SparseMatrix.cc @@ -3992,7 +3992,7 @@ dynSparseMatrix::Simulate_Newton_One_Boundary(bool forward) for (it_ = y_kmin; it_ < periods+y_kmin; it_++) solve_non_linear(block_num, y_size, y_kmin, y_kmax, size); else - for (int it_ = y_kmin; it_ < periods+y_kmin; it_++) + for (it_ = y_kmin; it_ < periods+y_kmin; it_++) solve_linear(block_num, y_size, y_kmin, y_kmax, size, 0); } else