Skip to content

Commit

Permalink
fix missing plus for conv
Browse files Browse the repository at this point in the history
  • Loading branch information
skyreflectedinmirrors committed Feb 7, 2022
1 parent 5f54b2d commit d29935f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyjac/core/rate_subs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down

0 comments on commit d29935f

Please sign in to comment.