Skip to content

Commit

Permalink
Update stan/math/prim/prob/loglogistic_cdf.hpp
Browse files Browse the repository at this point in the history
Co-authored-by: Tadej Ciglarič <[email protected]>
  • Loading branch information
gregorp90 and t4c1 authored May 18, 2021
1 parent 2ea763a commit b09414e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stan/math/prim/prob/loglogistic_cdf.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ return_type_t<T_y, T_scale, T_shape> loglogistic_cdf(const T_y& y,
}
if (!is_constant_all<T_scale>::value) {
const auto& alpha_deriv
= -alpha_div_times_beta * inv(alpha_val) * prod_all_sq;
= -alpha_div_times_beta / alpha_val * prod_all_sq;
ops_partials.edge2_.partials_ = alpha_deriv * cdf_div_elt;
}
}
Expand Down

0 comments on commit b09414e

Please sign in to comment.