1#ifndef STAN_MATH_REV_CORE_PRINT_STACK_HPP
2#define STAN_MATH_REV_CORE_PRINT_STACK_HPP
void print_stack(std::ostream &o)
Prints the autodiff variable stack.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
std::vector< ChainableT * > var_stack_
static thread_local AutodiffStackStorage * instance_