Skip to content

Commit 14779d9

Browse files
authored
Merge pull request brucefan1983#718 from brucefan1983/pow_function
pow(double,double)
2 parents 49b4365 + 1d30f0c commit 14779d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/integrate/ensemble_ti_rs.cu

+1-1
Original file line numberDiff line numberDiff line change
@@ -280,5 +280,5 @@ double Ensemble_TI_RS::switch_func(double t) { return 1 / (1 + t * (1 / lambda_f
280280
double Ensemble_TI_RS::dswitch_func(double t)
281281
{
282282
double a = 1 / lambda_f - 1;
283-
return -(a / pow((1 + a * t), 2)) / t_switch;
283+
return -(a / pow((1 + a * t), 2.0)) / t_switch;
284284
}

0 commit comments

Comments
 (0)