Skip to content

Commit 80bfa2a

Browse files
committed
remove unused values
1 parent c215f98 commit 80bfa2a

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

stan/math/prim/prob/wiener_full_lccdf_defective.hpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -267,9 +267,7 @@ inline auto wiener_lccdf_defective(const T_y& y, const T_a& a, const T_t0& t0,
267267

268268
// computation of derivative for t and precision check in order to give
269269
// the value as deriv_t to edge1 and as -deriv_t to edge5
270-
const auto params_dt7 = std::make_tuple(
271-
y_value, a_value, v_value, w_value, t0_value, sv_value, sw_value,
272-
st0_value, log_error_absolute - LOG_TWO - 9 * LOG_TWO);
270+
273271
// computation of derivatives and precision checks
274272
if (!is_constant_all<T_y>::value || !is_constant_all<T_t0>::value) {
275273
const T_partials_return deriv_t_7

stan/math/prim/prob/wiener_full_lcdf_defective.hpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -445,9 +445,7 @@ inline auto wiener_lcdf_defective(const T_y& y, const T_a& a, const T_t0& t0,
445445

446446
// computation of derivative for t and precision check in order to give
447447
// the value as deriv_t to edge1 and as -deriv_t to edge5
448-
const auto params_dt7 = std::make_tuple(
449-
y_value, a_value, v_value, w_value, t0_value, sv_value, sw_value,
450-
st0_value, log_error_absolute - LOG_TWO - 9 * LOG_TWO);
448+
451449
if (!is_constant_all<T_y>::value || !is_constant_all<T_t0>::value) {
452450
T_partials_return deriv_t_7
453451
= internal::wiener7_integrate_cdf<

0 commit comments

Comments
 (0)