stan-dev / stan

Stan development repository. The master branch contains the current release. The develop branch contains the latest stable development. See the Developer Process Wiki for details.
https://mc-stan.org
BSD 3-Clause "New" or "Revised" License
2.57k stars 368 forks source link

untangle reverse-mode from forward-mode autodiff; include finite diffs #1074

Closed bob-carpenter closed 9 years ago

bob-carpenter commented 9 years ago

As of Stan 2.4, the code in agrad/fwd has dependencies into agrad/rev and the finite diff code is spread all over.

What I propose is creating four directories under agrad:

and moving pieces into the appropriate place to remove the spaghetti dependencies.

syclik commented 9 years ago

this was fixed with #1222.