Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stan/math/prim/fun/grad_reg_lower_inc_gamma.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ inline return_type_t<T1, T2> grad_reg_lower_inc_gamma(const T1& a, const T2& z,
+ 60 * value_of_rec(z))) {
T1 tg = tgamma(a);
T1 dig = digamma(a);
return -grad_reg_inc_gamma(a, z, tg, dig, max_steps, precision);
return -grad_reg_inc_gamma(a, z, tg, dig, precision, max_steps);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I double checked the function signature in grad_reg_inc_gamma.hpp.

}

T2 log_z = log(z);
Expand Down
Loading