Skip to content

Commit

Permalink
fix requires for rvalue
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveBronder committed Jan 10, 2024
1 parent 0173de3 commit 6dc3f4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/stan/model/indexing/rvalue.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,7 @@ inline auto rvalue(Mat&& x, const char* name, const Idx& row_idx,
template <typename EigMat, typename Idx, typename MultiIndex,
require_eigen_dense_dynamic_t<EigMat>* = nullptr,
require_not_same_t<std::decay_t<Idx>, index_uni>* = nullptr,
require_not_same_t<std::decay_t<Idx>, index_multi>* = nullptr,
require_same_t<MultiIndex, index_multi>* = nullptr>
inline auto rvalue(EigMat&& x, const char* name, Idx&& row_idx,
MultiIndex&& col_idx) {
Expand Down

0 comments on commit 6dc3f4c

Please sign in to comment.