Skip to content

Commit

Permalink
Get rid of GNU fortran extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
ddemidov committed Oct 13, 2017
1 parent fde0ae9 commit c980a9f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions fortran/poisson.f90
@@ -1,10 +1,11 @@
program poisson
use, intrinsic :: iso_c_binding
use amgcl
implicit none

integer*4 :: n, n2, idx, nnz, i, j
integer*4, allocatable :: ptr(:), col(:)
real*8, allocatable :: val(:), rhs(:), x(:)
integer :: n, n2, idx, nnz, i, j
integer(c_int), allocatable :: ptr(:), col(:)
real(c_double), allocatable :: val(:), rhs(:), x(:)
integer(c_size_t) :: solver, params
type(conv_info) :: cnv

Expand Down

0 comments on commit c980a9f

Please sign in to comment.