We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e10ede commit f448c13Copy full SHA for f448c13
1 file changed
stan/math/prim/fun/stan_print.hpp
@@ -9,7 +9,7 @@ namespace stan {
9
namespace math {
10
// prints used in generator for print() statements in modeling language
11
12
-template <typename T, require_stan_scalar_t<T>* = nullptr>
+template <typename T, require_not_container_t<T>* = nullptr>
13
void stan_print(std::ostream* o, const T& x) {
14
*o << x;
15
}
0 commit comments