@@ -89,14 +89,14 @@ inline auto wiener_lccdf_defective(const T_y& y, const T_a& a, const T_t0& t0,
8989 const T_sw& sw, const T_st0& st0,
9090 const double & precision_derivatives = 1e-8 ) {
9191 using ret_t = return_type_t <T_y, T_a, T_t0, T_w, T_v, T_sv, T_sw, T_st0>;
92- using T_y_ref = ref_type_if_t <!is_constant<T_y>::value, T_y>;
93- using T_a_ref = ref_type_if_t <!is_constant<T_a>::value, T_a>;
94- using T_v_ref = ref_type_if_t <!is_constant<T_v>::value, T_v>;
95- using T_w_ref = ref_type_if_t <!is_constant<T_w>::value, T_w>;
96- using T_t0_ref = ref_type_if_t <!is_constant<T_t0>::value, T_t0>;
97- using T_sv_ref = ref_type_if_t <!is_constant<T_sv>::value, T_sv>;
98- using T_sw_ref = ref_type_if_t <!is_constant<T_sw>::value, T_sw>;
99- using T_st0_ref = ref_type_if_t <!is_constant<T_st0>::value, T_st0>;
92+ using T_y_ref = ref_type_t < T_y>;
93+ using T_a_ref = ref_type_t < T_a>;
94+ using T_v_ref = ref_type_t < T_v>;
95+ using T_w_ref = ref_type_t < T_w>;
96+ using T_t0_ref = ref_type_t < T_t0>;
97+ using T_sv_ref = ref_type_t < T_sv>;
98+ using T_sw_ref = ref_type_t < T_sw>;
99+ using T_st0_ref = ref_type_t < T_st0>;
100100 using internal::GradientCalc;
101101 using T_partials_return
102102 = partials_return_t <T_y, T_a, T_t0, T_w, T_v, T_sv, T_sw, T_st0>;
@@ -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
0 commit comments