Skip to content

Commit

Permalink
ivar, ix should be c_int
Browse files Browse the repository at this point in the history
  • Loading branch information
balos1 committed Jun 18, 2024
1 parent 2457a1a commit d0158b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/arkode/F2003_serial/ark_bruss1D_FEM_klu_f2003.f90
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ module Bruss1DFEMKLU_UserData
! function that maps 2D data into 1D address space
! (0-based since CSR matrix will be sent to C solver)
integer(c_int64_t) function idx(ix, ivar)
integer(c_int64_t) :: ivar, ix
integer(c_int) :: ivar, ix
idx = neqreal*(ix - 1) + ivar - 1
end function idx

Expand Down

0 comments on commit d0158b1

Please sign in to comment.