From 5f451ebc9937b0a2a99f927a3f27fc2911b64eb9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Fri, 20 Dec 2019 11:48:50 +0100
Subject: [PATCH] Cosmetic fixes to 8baec1e0ec5e06df5e14a96467fe520f5eb6f374

Ref. #1673
---
 src/ComputingTasks.cc | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/ComputingTasks.cc b/src/ComputingTasks.cc
index e08b60b0..35e5cb09 100644
--- a/src/ComputingTasks.cc
+++ b/src/ComputingTasks.cc
@@ -1141,9 +1141,7 @@ EstimationStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsoli
       int order = stoi(it->second);
 
       if (order > 2)
-        {
-          mod_file_struct.k_order_solver = true;
-        }
+        mod_file_struct.k_order_solver = true;
 
       mod_file_struct.order_option = max(mod_file_struct.order_option, order);
     }
@@ -1216,7 +1214,7 @@ EstimationStatement::writeOutput(ostream &output, const string &basename, bool m
     {
       output << "options_.particle.status = true;" << endl;
       if (stoi(it->second) > 2)
-        output << "options_.k_order_solver = 1;" << endl;
+        output << "options_.k_order_solver = true;" << endl;
     }
 
   // Do not check for the steady state in diffuse filter mode (#400)
-- 
GitLab