Skip to content

Commit

Permalink
Merge pull request #27 from tschoonj/remove-gsl_spmatrix_compare_idx
Browse files Browse the repository at this point in the history
Remove gsl_spmatrix_compare_idx
  • Loading branch information
reinh-bader authored Mar 25, 2021
2 parents 68c71ec + c306e9f commit 5a34186
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
5 changes: 0 additions & 5 deletions api/spmatrix.finc
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ function fgsl_spmatrix_nnz(m)
integer(fgsl_size_t) :: fgsl_spmatrix_nnz
fgsl_spmatrix_nnz = gsl_spmatrix_nnz(m%gsl_spmatrix)
end function fgsl_spmatrix_nnz
function fgsl_spmatrix_compare_idx(ia, ja, ib, jb)
integer(fgsl_size_t), intent(in) :: ia, ja, ib, jb
integer(fgsl_int) :: fgsl_spmatrix_compare_idx
fgsl_spmatrix_compare_idx = gsl_spmatrix_compare_idx(ia, ja, ib, jb)
end function fgsl_spmatrix_compare_idx
function fgsl_spmatrix_memcpy(dest, src)
type(fgsl_spmatrix), intent(inout) :: dest
type(fgsl_spmatrix), intent(in) :: src
Expand Down
2 changes: 1 addition & 1 deletion fgsl.F90
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ module fgsl
! sparse matrices
public :: fgsl_spmatrix_alloc, fgsl_spmatrix_alloc_nzmax, fgsl_spmatrix_size, &
fgsl_spmatrix_free, fgsl_spmatrix_realloc, fgsl_spmatrix_set_zero, &
fgsl_spmatrix_nnz, fgsl_spmatrix_compare_idx, fgsl_spmatrix_memcpy, &
fgsl_spmatrix_nnz, fgsl_spmatrix_memcpy, &
fgsl_spmatrix_get, fgsl_spmatrix_set, fgsl_spmatrix_compcol, &
fgsl_spmatrix_cumsum, fgsl_spmatrix_scale, fgsl_spmatrix_minmax, &
fgsl_spmatrix_add, fgsl_spmatrix_d2sp, fgsl_spmatrix_sp2d, &
Expand Down
5 changes: 0 additions & 5 deletions interface/spmatrix.finc
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@ function gsl_spmatrix_nnz(m) bind(c)
type(c_ptr), value :: m
integer(c_size_t) :: gsl_spmatrix_nnz
end function gsl_spmatrix_nnz
function gsl_spmatrix_compare_idx(ia, ja, ib, jb) bind(c)
import :: c_int, c_size_t
integer(c_size_t), value :: ia, ja, ib, jb
integer(c_int) :: gsl_spmatrix_compare_idx
end function gsl_spmatrix_compare_idx
function gsl_spmatrix_memcpy(dest, src) bind(c)
import :: c_ptr, c_int
type(c_ptr), value :: dest, src
Expand Down

0 comments on commit 5a34186

Please sign in to comment.