From 15a0a46254829faed5ec59a1ca2d1e08f15844cd Mon Sep 17 00:00:00 2001 From: Brian Ward Date: Thu, 14 Nov 2024 09:55:50 -0500 Subject: [PATCH] Remove unused variable in mcse.hpp --- src/stan/analyze/mcmc/mcse.hpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/stan/analyze/mcmc/mcse.hpp b/src/stan/analyze/mcmc/mcse.hpp index 040b94d9ea..b859cfa32c 100644 --- a/src/stan/analyze/mcmc/mcse.hpp +++ b/src/stan/analyze/mcmc/mcse.hpp @@ -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::quiet_NaN();