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.
2 parents af63738 + 2f0b2a6 commit 3fcfe24Copy full SHA for 3fcfe24
1 file changed
stan/math/prim/functor/operands_and_partials.hpp
@@ -54,7 +54,8 @@ class ops_partials_edge;
54
* for this specialization must be a `Arithmetic`
55
*/
56
template <typename ViewElt, typename Op>
57
-struct ops_partials_edge<ViewElt, Op, require_st_arithmetic<Op>> {
+class ops_partials_edge<ViewElt, Op, require_st_arithmetic<Op>> {
58
+ public:
59
using inner_op = std::conditional_t<is_eigen<value_type_t<Op>>::value,
60
value_type_t<Op>, Op>;
61
using partials_t = empty_broadcast_array<ViewElt, inner_op>;
0 commit comments