Skip to content

Commit

Permalink
Merge pull request #3091 from stan-dev/fix/clang-18-warning
Browse files Browse the repository at this point in the history
Resolve clang18 warning about ops_partials_edge
  • Loading branch information
SteveBronder committed Jun 28, 2024
2 parents af63738 + 2f0b2a6 commit 3fcfe24
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stan/math/prim/functor/operands_and_partials.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ class ops_partials_edge;
* for this specialization must be a `Arithmetic`
*/
template <typename ViewElt, typename Op>
struct ops_partials_edge<ViewElt, Op, require_st_arithmetic<Op>> {
class ops_partials_edge<ViewElt, Op, require_st_arithmetic<Op>> {
public:
using inner_op = std::conditional_t<is_eigen<value_type_t<Op>>::value,
value_type_t<Op>, Op>;
using partials_t = empty_broadcast_array<ViewElt, inner_op>;
Expand Down

0 comments on commit 3fcfe24

Please sign in to comment.