Just a warning to anyone still using this: there is a bug in dydt.c in the function computing cv_avg, here.
|
line += '(' + utils.get_array(lang, 'cv', len(specs) - 1) + ' * y_N)' |
There needs to be a "+" sign prior to opening the next parentheses, otherwise you end up with code that looks like this:
double cv_avg = (cv[0] * y[1]) + (cv[1] * y[2]) + (cv[2] * y[3]) + (cv[3] * y[4])(cv[4] * y_N);
Just a warning to anyone still using this: there is a bug in
dydt.cin the function computingcv_avg, here.pyJac/pyjac/core/rate_subs.py
Line 2431 in 5f54b2d
There needs to be a "+" sign prior to opening the next parentheses, otherwise you end up with code that looks like this: