Skip to content

Commit

Permalink
Merge pull request brucefan1983#718 from brucefan1983/pow_function
Browse files Browse the repository at this point in the history
pow(double,double)
  • Loading branch information
brucefan1983 committed Sep 1, 2024
2 parents 49b4365 + 1d30f0c commit 14779d9
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 14779d9

Please sign in to comment.