Unverified Commit b8f756fa authored by Stéphane Adjemian (Charybdis)'s avatar Stéphane Adjemian (Charybdis)
Browse files

Fixed option name in error message.

parent 8ae7f81f
Pipeline #875 passed with stage
in 1 minute and 47 seconds
...@@ -2628,7 +2628,7 @@ ParsingDriver::pac_model() ...@@ -2628,7 +2628,7 @@ ParsingDriver::pac_model()
aux_model_name = it->second; aux_model_name = it->second;
else else
if (pac_steady_state_growth_rate_number < 0 && pac_steady_state_growth_rate_symb_id < 0) if (pac_steady_state_growth_rate_number < 0 && pac_steady_state_growth_rate_symb_id < 0)
error("when aux_model_name is not passed to the pac_model statement, you must pass steady_state_growth_rate"); error("when aux_model_name is not passed to the pac_model statement, you must pass steady_state_growth option");
else if (pac_growth_symb_id >= 0 && mod_file->symbol_table.getType(pac_growth_symb_id) == SymbolType::parameter else if (pac_growth_symb_id >= 0 && mod_file->symbol_table.getType(pac_growth_symb_id) == SymbolType::parameter
&& (pac_steady_state_growth_rate_number >= 0 && (pac_steady_state_growth_rate_number >= 0
|| pac_steady_state_growth_rate_symb_id != pac_growth_symb_id)) || pac_steady_state_growth_rate_symb_id != pac_growth_symb_id))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment