Find where second-order is failing and create further issues to fix
Open
@bob-carpenter is already working on this.
Since Apr 3, 2017.
bug
- Dominant language
- C++
- Stars
- 839
- Forks
- 220
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 14
Description
Summary:
@syclik claims that if we try to build all the models in stan-dev/stan/test-models/good for fvar<var> that they will break because second-order autodiff isn't complete.
Description:
These are the functions that we can't compile using stan::math::fvar<double> and/or stan::math::fvar<stan::math::var>:
-
stan/math/prim/scal/fun/inc_beta.hpp -
stan/math/prim/mat/fun/quad_form.hpp -
prim/mat/fun/trace_gen_quad_form.hpp
And all the ODE functionality:
-
stan/math/rev/mat/functor/cvodes_ode_data.hpp -
stan/math/rev/arr/fun/decouple_ode_states.hpp -
stan/math/rev/mat/functor/integrate_ode_bdf.hpp -
stan/math/rev/mat/functor/cvodes_ode_data.hpp -
stan/math/rev/arr/fun/decouple_ode_states.hpp -
stan/math/prim/arr/functor/integrate_ode_rk45.hpp
Reproducible Steps:
Need to hack the test in stan-dev/stan to compile for second-order or do something else similar like create a new make target.
Current Output:
Failing?
Expected Output:
Everything buildable.
Current Version:
v2.12.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.