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.
1 parent b0b3008 commit 3d7f67cCopy full SHA for 3d7f67c
1 file changed
stan/math/prim/prob/wiener4_lccdf_defective.hpp
@@ -75,7 +75,7 @@ inline auto wiener_prob_derivative_term(const T_a& a, const T_v& v,
75
if (neg_v < 0) {
76
ans = LOG_TWO + exponent_with_1mw - log1m_exp(exponent_with_1mw);
77
diff_term = log1m_exp(exponent_with_w) - log1m_exp(exponent);
78
- } else if (neg_v > 0) {
+ } else /* neg_v > 0 */ {
79
ans = LOG_TWO - log1m_exp(exponent_with_1mw);
80
diff_term = log_diff_exp(exponent_with_1mw, exponent) - log1m_exp(exponent);
81
}
0 commit comments