ukhsa-collaboration / pygom

ODE modelling in Python
GNU General Public License v2.0
27 stars 20 forks source link

Need to recompile the pyx files for newer Python? #68

Closed twomagpi closed 1 month ago

twomagpi commented 1 year ago

A C file was throwing the error each time and manually recompiling the corresponding ".pyx" to overwrite the C file ending up sorting the issue.

If the devs want to know the issue, it was with "pygom/model/_tau_leap.c" and it threw the following error, tried on 3 different PC's (2x Windows 10 and 1 Windows 11): pygom/model_tau_leap.c(18377): error C2105: '--' needs l-value pygom/model_tau_leap.c(18686): error C2105: '++' needs l-value pygom/model_tau_leap.c(18688): error C2105: '--' needs l-value pygom/model_tau_leap.c(18936): error C2105: '++' needs l-value pygom/model_tau_leap.c(18938): error C2105: '--' needs l-value Recompiling this file using "cython pygom/model/_tau_leap.pyx" and then restarting setup removed this error.