From 6dc3f4c669b39724f8b33af6d3735b75a54bbc45 Mon Sep 17 00:00:00 2001 From: Steve Bronder Date: Wed, 10 Jan 2024 16:05:04 -0500 Subject: [PATCH] fix requires for rvalue --- src/stan/model/indexing/rvalue.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/stan/model/indexing/rvalue.hpp b/src/stan/model/indexing/rvalue.hpp index 330a5bd2e5..c4ebe1ba0e 100644 --- a/src/stan/model/indexing/rvalue.hpp +++ b/src/stan/model/indexing/rvalue.hpp @@ -567,6 +567,7 @@ inline auto rvalue(Mat&& x, const char* name, const Idx& row_idx, template * = nullptr, require_not_same_t, index_uni>* = nullptr, + require_not_same_t, index_multi>* = nullptr, require_same_t* = nullptr> inline auto rvalue(EigMat&& x, const char* name, Idx&& row_idx, MultiIndex&& col_idx) {