1 #ifndef STAN_MATH_REV_CORE_START_NESTED_HPP 2 #define STAN_MATH_REV_CORE_START_NESTED_HPP std::vector< size_t > nested_var_nochain_stack_sizes_
std::vector< size_t > nested_var_stack_sizes_
static STAN_THREADS_DEF AutodiffStackStorage * instance_
void start_nested()
Store current positions before doing nested operation so can recover back to start.
std::vector< size_t > nested_var_alloc_stack_starts_
static void start_nested()
Record the current position so that recover_memory_nested() can find it.