Skip to content

Commit

Permalink
fix ess calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
atrayees authored Jul 26, 2024
1 parent 93d051b commit e57da1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/correlation_matrices/sampler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ void tune_walkL(const std::vector<unsigned int>& walkL_values, const std::vector
//calculate ess
unsigned int min_ess = 0;
VT ess_vector = effective_sample_size<NT, VT, MT>(samples, min_ess);
std::cout << "Minimum Ess = " << min_ess << std::endl;
std::cout << "Minimum Effective sample space = " << min_ess/num_matrices << std::endl;

// Clear the matrices for the next iteration
randCorMatrices.clear();
Expand Down

0 comments on commit e57da1a

Please sign in to comment.