Skip to content
Snippets Groups Projects
Commit 4588576d authored by Stevenson, Paul Prof (Maths & Physics)'s avatar Stevenson, Paul Prof (Maths & Physics)
Browse files

change FLOAT -> REAL to give explicit KIND during promotion

parent 724b651c
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@ CONTAINS
der2v(:,:),cdmpv(:,:)
INTEGER :: i
ALLOCATE(v(nv),der1v(nv,nv),der2v(nv,nv),cdmpv(nv,nv))
v=(/ ((i-1)*dv-0.5D0*FLOAT(nv-1)*dv,i=1,nv) /)
v=(/ ((i-1)*dv-0.5D0*REAL(nv-1,KIND(v))*dv,i=1,nv) /)
IF(wflag) THEN
WRITE(*,'(1X,A,I3,A,F8.4,2(A,F8.4))') name // ' direction: ',nv, &
' points, spacing:',dv,' ranging from ',v(1),' to ',v(nv)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment