Skip to content

Commit e190fe0

Browse files
committed
Very last change: log1m(1-w) to log(w)
1 parent 0a2f7fd commit e190fe0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stan/math/prim/prob/wiener4_lccdf.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ inline auto log_wiener_prob_hit_upper(const T_a& a, const T_v& v,
2626
const auto neg_v = -v;
2727
const auto one_m_w = 1.0 - w;
2828
if (fabs(v) == 0.0) {
29-
return ret_t(log1m(one_m_w));
29+
return ret_t(log(w));
3030
}
3131
const auto exponent = 2.0 * v * a * w;
3232
// This branch is for numeric stability

0 commit comments

Comments
 (0)