From 0f268ce70c9c5358447c4d36a0ee50631e852389 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?= Date: Tue, 30 Jun 2020 14:09:28 +0200 Subject: [PATCH] Fixed logic. Value passed to steady_state_growth was not acknowledge. --- src/ParsingDriver.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ParsingDriver.cc b/src/ParsingDriver.cc index cbc07c6e..0ced2a61 100644 --- a/src/ParsingDriver.cc +++ b/src/ParsingDriver.cc @@ -2739,7 +2739,8 @@ ParsingDriver::pac_model() && (pac_steady_state_growth_rate_number >= 0 || pac_steady_state_growth_rate_symb_id >= 0)) warning("If growth option is constant, steady_state_growth is ignored"); else if (pac_growth && !pac_growth_is_param - && (pac_steady_state_growth_rate_number < 0 || pac_steady_state_growth_rate_symb_id < 0)) + && pac_steady_state_growth_rate_number < 0 + && pac_steady_state_growth_rate_symb_id < 0) error("The steady state growth rate of the target must be provided (steady_state_growth option) if option growth is not constant"); if (pac_steady_state_growth_rate_symb_id >= 0