From b6e0297873625fb3ef0027ba267840bcb86e613a Mon Sep 17 00:00:00 2001 From: Nick Curtis Date: Mon, 7 Feb 2022 17:16:02 -0500 Subject: [PATCH] fix missing plus for conv --- pyjac/core/rate_subs.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyjac/core/rate_subs.py b/pyjac/core/rate_subs.py index 699f823..bdd3f6b 100644 --- a/pyjac/core/rate_subs.py +++ b/pyjac/core/rate_subs.py @@ -2428,6 +2428,8 @@ def write_derivs(path, lang, specs, reacs, specs_nonzero, auto_diff=False): ) isfirst = False + + if not isfirst: line += ' + ' line += '(' + utils.get_array(lang, 'cv', len(specs) - 1) + ' * y_N)' file.write(line + utils.line_end[lang] + '\n')