Added ifdef to disambiguate interfacese for LPK4/LPK8

pull/28/head
Fabio Durastante 12 months ago
parent 695f31aa81
commit a83094a626

@ -118,7 +118,11 @@ module psb_hash_map_mod
end interface hash_inner_cnv
private :: hash_inner_cnv
interface hash_srch
#if defined(PSB_LPK8)
module procedure hash_srch_ipk, hash_srch_lpk
#else
module procedure hash_srch_ipk
#endif
end interface hash_srch
private :: hash_srch
integer, parameter, private :: seqsrchmax=6
@ -1498,7 +1502,8 @@ contains
end if
end function hash_srch_ipk
function hash_srch_lpk(key,idx,nh,glb_lc) result(res)
#if defined(PSB_LPK8)
function hash_srch_lpk(key,idx,nh,glb_lc) result(res)i
integer(psb_lpk_), intent(in) :: key
integer(psb_lpk_), intent(in) :: glb_lc(:)
integer(psb_lpk_), intent(in) :: idx
@ -1539,6 +1544,7 @@ contains
end if
end if
end function hash_srch_lpk
#endif
subroutine hash_clone(idxmap,outmap,info)
use psb_penv_mod

Loading…
Cancel
Save