@@ -265,14 +265,14 @@ inline auto wiener_lcdf_defective(const T_y& y, const T_a& a, const T_t0& t0,
265265 const T_sw& sw, const T_st0& st0,
266266 const double & precision_derivatives = 1e-8 ) {
267267 using ret_t = return_type_t <T_y, T_a, T_t0, T_w, T_v, T_sv, T_sw, T_st0>;
268- using T_y_ref = ref_type_if_t <!is_constant<T_y>::value, T_y>;
269- using T_a_ref = ref_type_if_t <!is_constant<T_a>::value, T_a>;
270- using T_v_ref = ref_type_if_t <!is_constant<T_v>::value, T_v>;
271- using T_w_ref = ref_type_if_t <!is_constant<T_w>::value, T_w>;
272- using T_t0_ref = ref_type_if_t <!is_constant<T_t0>::value, T_t0>;
273- using T_sv_ref = ref_type_if_t <!is_constant<T_sv>::value, T_sv>;
274- using T_sw_ref = ref_type_if_t <!is_constant<T_sw>::value, T_sw>;
275- using T_st0_ref = ref_type_if_t <!is_constant<T_st0>::value, T_st0>;
268+ using T_y_ref = ref_type_t < T_y>;
269+ using T_a_ref = ref_type_t < T_a>;
270+ using T_v_ref = ref_type_t < T_v>;
271+ using T_w_ref = ref_type_t < T_w>;
272+ using T_t0_ref = ref_type_t < T_t0>;
273+ using T_sv_ref = ref_type_t < T_sv>;
274+ using T_sw_ref = ref_type_t < T_sw>;
275+ using T_st0_ref = ref_type_t < T_st0>;
276276 using internal::GradientCalc;
277277 using T_partials_return
278278 = partials_return_t <T_y, T_a, T_t0, T_w, T_v, T_sv, T_sw, T_st0>;
0 commit comments