Skip to content

Commit

Permalink
Merge pull request #3314 from stan-dev/fix/remove-unused-variable
Browse files Browse the repository at this point in the history
Remove unused variable in mcse.hpp
  • Loading branch information
WardBrian authored Nov 14, 2024
2 parents 9203984 + 15a0a46 commit 4ff44b8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/stan/analyze/mcmc/mcse.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ namespace analyze {
* @return mcse
*/
inline double mcse_mean(const Eigen::MatrixXd& chains) {
const Eigen::Index num_draws = chains.rows();
if (chains.rows() < 4 || !is_finite_and_varies(chains))
return std::numeric_limits<double>::quiet_NaN();

Expand Down

0 comments on commit 4ff44b8

Please sign in to comment.