From 8ed5a59f4eec72d2732a0ab47703aeb7f37dda84 Mon Sep 17 00:00:00 2001 From: rok-cesnovar Date: Tue, 21 Dec 2021 18:02:22 +0100 Subject: [PATCH] add back static constexpr --- stan/math/prim/fun/matrix_exp_action_handler.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stan/math/prim/fun/matrix_exp_action_handler.hpp b/stan/math/prim/fun/matrix_exp_action_handler.hpp index 65e2691e28d..67a13ad03d7 100644 --- a/stan/math/prim/fun/matrix_exp_action_handler.hpp +++ b/stan/math/prim/fun/matrix_exp_action_handler.hpp @@ -23,8 +23,8 @@ namespace math { * and t is double. */ class matrix_exp_action_handler { - int p_max = 8; - int m_max = 55; + static constexpr int p_max = 8; + static constexpr int m_max = 55; static constexpr double tol = 1.0e-16; const std::vector theta_m_single{