Skip to content

Commit

Permalink
Use a double instead of an integer for (n C k).
Browse files Browse the repository at this point in the history
Fixes #156.
  • Loading branch information
dhermes committed Jan 4, 2020
1 parent 6af3326 commit 5768824
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fortran/curve.f90
Expand Up @@ -110,7 +110,7 @@ subroutine evaluate_curve_barycentric( &
! Variables outside of signature.
integer(c_int) :: i, j
real(c_double) :: lambda2_pow(num_vals)
integer(c_int) :: binom_val
real(c_double) :: binom_val

lambda2_pow = 1.0_dp
binom_val = 1
Expand Down

0 comments on commit 5768824

Please sign in to comment.