Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors when running the npm test #20

Open
Spatial-R opened this issue Sep 11, 2018 · 0 comments
Open

Errors when running the npm test #20

Spatial-R opened this issue Sep 11, 2018 · 0 comments

Comments

@Spatial-R
Copy link

AIL: test_make_C_term_extra_terms (main.TestCmodel)

Traceback (most recent call last):
File "test_Cmodel.py", line 113, in test_make_C_term_extra_terms
self.assertEqual(self.m.make_C_term(t['x'], False, human=False), t['c'])
AssertionError: '//NotsupportedinC:\n//heaviside\nheaviside(t-gsl_vector_get(par,ORDER_v))' != 'heaviside(t-gsl_vector_get(par,ORDER_v))'

======================================================================
FAIL: test_make_C_term_nested (main.TestCmodel)

Traceback (most recent call last):
File "test_Cmodel.py", line 74, in test_make_C_term_nested
self.assertEqual(self.m.make_C_term('correct_rate(correct_rate(x))', False, human=False), 'ssm_correct_rate(ssm_correct_rate(x,dt),dt)')
AssertionError: '//NotsupportedinC:\n//correct_rate\ncorrect_rate(ssm_correct_rate(x,dt))' != 'ssm_correct_rate(ssm_correct_rate(x,dt),dt)'

======================================================================
FAIL: test_make_C_term_skip_correct_rate (main.TestCmodel)

Traceback (most recent call last):
File "test_Cmodel.py", line 95, in test_make_C_term_skip_correct_rate
self.assertEqual(self.m.make_C_term(x, True, human=False), c)
AssertionError: '//NotsupportedinC:\n//correct_rate\nmu_b_paris*((gsl_vector_get(par,ORDER_v))sin(gsl_spline_eval(calc->spline[ORDER_mu_b_paris],t,calc->acc[ORDER_mu_b_paris])+(gsl_vector_get(par,ORDER_v))/gsl_spline_eval(calc->spline[ORDER_N_paris],t,calc->acc[ORDER_N_paris]))+1.0)+diffed[ORDER_diff__r0_paris]' != 'gsl_spline_eval(calc->spline[ORDER_mu_b_paris],t,calc->acc[ORDER_mu_b_paris])((gsl_vector_get(par,ORDER_v))*sin(gsl_spline_eval(calc->spline[ORDER_mu_b_paris],t,calc->acc[ORDER_mu_b_paris])+(gsl_vector_get(par,ORDER_v))/gsl_spline_eval(calc->spline[ORDER_N_paris],t,calc->acc[ORDER_N_paris]))+1.0)+diffed[ORDER_diff__r0_paris]'


Ran 17 tests in 0.072s

FAILED (failures=3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant