Skip to content

Commit

Permalink
pow(double,double)
Browse files Browse the repository at this point in the history
  • Loading branch information
brucefan1983 committed Sep 1, 2024
1 parent 49b4365 commit 1d30f0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/integrate/ensemble_ti_rs.cu
Original file line number Diff line number Diff line change
Expand Up @@ -280,5 +280,5 @@ double Ensemble_TI_RS::switch_func(double t) { return 1 / (1 + t * (1 / lambda_f
double Ensemble_TI_RS::dswitch_func(double t)
{
double a = 1 / lambda_f - 1;
return -(a / pow((1 + a * t), 2)) / t_switch;
return -(a / pow((1 + a * t), 2.0)) / t_switch;
}

0 comments on commit 1d30f0c

Please sign in to comment.