alashworth / test-issue-import

0 stars 0 forks source link

instantiate 2nd and 3rd order derivatives for the test models #52

Open alashworth opened 5 years ago

alashworth commented 5 years ago

Issue by syclik Sunday Dec 28, 2014 at 15:19 GMT Originally opened as https://github.com/stan-dev/stan/issues/1189


Add tests verifying the 2nd and 3rd order auto diff is compilable for all models in src/test/test-models/good/*.

alashworth commented 5 years ago

Comment by syclik Tuesday Jan 20, 2015 at 03:03 GMT


I've started work on second order on branch feature/issue-1189-2nd-and-3rd-order-tests.

To run all of the models, type:

./runTests.py src/test/integration/compile_models_test.cpp 

To run a single model, say src/test/test-models/good/model/domain_fail.hpp, type:

make src/test/test-models/good/model/domain_fail.hpp-test-second-order

I'll need some help, second order doesn't all compile yet. The first one that fails:

make src/test/test-models/good/function-signatures/distributions/multivariate/continuous/lkj_corr_cholesky_log.hpp-test-second-order