Skip to content

Commit

Permalink
Fixing bugs in the length of mass-scheme and projectile strings
Browse files Browse the repository at this point in the history
  • Loading branch information
vbertone committed May 6, 2019
1 parent 4c51bdc commit be641ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/DIS/ComputeDISOperators.f
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ subroutine ComputeDISOperators(Q)
*
* Define the ratio # of protons / # of nucleons of the target
*
if(TargetDIS(1:7).eq."proton")then
if(TargetDIS(1:6).eq."proton")then
frac = 1d0
elseif(TargetDIS(1:7).eq."neutron")then
frac = 0d0
Expand Down Expand Up @@ -1224,7 +1224,7 @@ subroutine ComputeDISOperators(Q)
C3nsm(ihq) = C3nsm(3)
enddo
endif
elseif(MassScheme.eq."FFN0")then
elseif(MassScheme(1:4).eq."FFN0")then
do pt=0,ipt
C2g(3) = C2g(3)
1 + as(pt) * SC2zm(jgrid,Nf_FF,1,pt,alpha,beta)
Expand Down Expand Up @@ -1358,7 +1358,7 @@ subroutine ComputeDISOperators(Q)
enddo
endif
endif
elseif(MassScheme.eq."FFNS")then
elseif(MassScheme(1:4).eq."FFNS")then
do pt=0,ipt
C2g(3) = C2g(3)
1 + as(pt) * SC2zm(jgrid,Nf_FF,1,pt,alpha,beta)
Expand Down

0 comments on commit be641ad

Please sign in to comment.