Closed JanHasenauer closed 5 years ago
Fails compilation in AMICI.
model_Sneyd_PNAS2002_dydx.cpp: In function ‘void dydx_model_Sneyd_PNAS2002(double*, amici::realtype, const realtype*, const realtype*, const realtype*, const realtype*, const realtype*, const realtype*)’: model_Sneyd_PNAS2002_dydx.cpp:16:41: error: ‘_xi_1’ was not declared in this scope 0.10000000000000001*Subs(Derivative(pow(_xi_1, 4), _xi_1), (_xi_1,), (0.9*IPR_A + 0.1*IPR_O,)); ^~~~~ model_Sneyd_PNAS2002_dydx.cpp:16:26: error: ‘Derivative’ was not declared in this scope 0.10000000000000001*Subs(Derivative(pow(_xi_1, 4), _xi_1), (_xi_1,), (0.9*IPR_A + 0.1*IPR_O,)); ^~~~~~~~~~ model_Sneyd_PNAS2002_dydx.cpp:16:67: error: expected primary-expression before ‘)’ token 0.10000000000000001*Subs(Derivative(pow(_xi_1, 4), _xi_1), (_xi_1,), (0.9*IPR_A + 0.1*IPR_O,)); ^ model_Sneyd_PNAS2002_dydx.cpp:16:93: error: expected primary-expression before ‘)’ token 0.10000000000000001*Subs(Derivative(pow(_xi_1, 4), _xi_1), (_xi_1,), (0.9*IPR_A + 0.1*IPR_O,)); ^ model_Sneyd_PNAS2002_dydx.cpp:16:21: error: ‘Subs’ was not declared in this scope 0.10000000000000001*Subs(Derivative(pow(_xi_1, 4), _xi_1), (_xi_1,), (0.9*IPR_A + 0.1*IPR_O,)); ^~~~ model_Sneyd_PNAS2002_dydx.cpp:16:21: note: suggested alternative: ‘labs’ 0.10000000000000001*Subs(Derivative(pow(_xi_1, 4), _xi_1), (_xi_1,), (0.9*IPR_A + 0.1*IPR_O,)); ^~~~ labs model_Sneyd_PNAS2002_dydx.cpp:19:67: error: expected primary-expression before ‘)’ token 0.90000000000000002*Subs(Derivative(pow(_xi_1, 4), _xi_1), (_xi_1,), (0.9*IPR_A + 0.1*IPR_O,)); ^ model_Sneyd_PNAS2002_dydx.cpp:19:93: error: expected primary-expression before ‘)’ token 0.90000000000000002*Subs(Derivative(pow(_xi_1, 4), _xi_1), (_xi_1,), (0.9*IPR_A + 0.1*IPR_O,));
Might be an issue in AMICI, but not sure. Maybe related to parametes with time unit? Can somebody look into that?
I updated the model. maybe you can try again. I also checked that the model is valid SBML.
Fails compilation in AMICI.
Might be an issue in AMICI, but not sure. Maybe related to parametes with time unit? Can somebody look into that?