Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/stan/mcmc/hmc/nuts/base_nuts.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class base_nuts : public base_hmc<Model, Hamiltonian, Integrator, BaseRNG> {
Eigen::VectorXd p_sharp_bck_bck = p_sharp_fwd_fwd;

// Integrated momenta along trajectory
Eigen::VectorXd rho = this->z_.p.transpose();
Eigen::VectorXd rho = this->z_.p;

// Log sum of state weights (offset by H0) along trajectory
double log_sum_weight = 0; // log(exp(H0 - H0))
Expand Down
Loading