Skip to content

Commit

Permalink
Added missing require_not
Browse files Browse the repository at this point in the history
  • Loading branch information
bbbales2 committed Mar 18, 2021
1 parent 403c06c commit c5b5e24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stan/io/deserializer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,7 @@ class deserializer {
* @tparam Ret Type of output
* @return Unconstrained vector
*/
template <typename Ret>
template <typename Ret, require_not_std_vector_t<Ret>* = nullptr>
inline auto read_free_simplex(size_t size) {
return stan::math::simplex_free(this->read<Ret>(size));
}
Expand Down

0 comments on commit c5b5e24

Please sign in to comment.