Skip to content

Commit 597fd7e

Browse files
committed
[Jenkins] auto-formatting by clang-format version 10.0.0-4ubuntu1
1 parent f1c5e6c commit 597fd7e

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

stan/math/fwd/prob/std_normal_log_qf.hpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ namespace math {
1616
template <typename T>
1717
inline fvar<T> std_normal_log_qf(const fvar<T>& p) {
1818
const T xv = std_normal_log_qf(p.val_);
19-
return fvar<T>(
20-
xv,
21-
p.d_ * exp(p.val_ - std_normal_lpdf(xv)));
19+
return fvar<T>(xv, p.d_ * exp(p.val_ - std_normal_lpdf(xv)));
2220
}
2321
} // namespace math
2422
} // namespace stan

test/unit/math/mix/prob/std_normal_log_qf_test.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#include <test/unit/math/test_ad.hpp>
55
#include <stan/math/fwd/prob/std_normal_log_qf.hpp>
66

7-
87
TEST_F(AgradRev, mathMixLogFun_stdNormalLogQf) {
98
auto f = [](const auto& x1) { return stan::math::std_normal_log_qf(x1); };
109
stan::test::expect_ad(f, -100.25);

0 commit comments

Comments
 (0)