Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions src/fitpack_core.f90
Original file line number Diff line number Diff line change
Expand Up @@ -12232,7 +12232,7 @@ pure subroutine fpspgr(iopt,ider,u,mu,v,mv,r,mr,r0,r1,s, &
end subroutine fpspgr


subroutine fpsphe(iopt,m,teta,phi,r,w,s,ntest,npest,eta,tol,maxit, &
pure subroutine fpsphe(iopt,m,teta,phi,r,w,s,ntest,npest,eta,tol,maxit, &
ib1,ib3,nc,ncc,intest,nrest,nt,tt,np,tp,c,fp,sup,fpint,coord,f, &
ff,row,coco,cosi,a,q,bt,bp,spt,spp,h,index,nummer,wrk,lwrk,ier)

Expand Down Expand Up @@ -12271,8 +12271,6 @@ subroutine fpsphe(iopt,m,teta,phi,r,w,s,ntest,npest,eta,tol,maxit, &
ntt = 0
iband1 = 0

print *, 'ib3=',ib3,' size(h)=',size(h)

bootstrap: if (iopt>=0) then

! if iopt=0 we begin by computing the weighted least-squares polynomial of the form
Expand Down Expand Up @@ -17238,7 +17236,7 @@ pure subroutine spgrid(iopt,ider,mu,u,mv,v,r,r0,r1,s, &
end subroutine spgrid


subroutine sphere(iopt,m,teta,phi,r,w,s,ntest,npest, &
pure subroutine sphere(iopt,m,teta,phi,r,w,s,ntest,npest, &
eps,nt,tt,np,tp,c,fp,wrk1,lwrk1,wrk2,lwrk2,iwrk,kwrk,ier)

! subroutine sphere determines a smooth bicubic spherical spline
Expand Down
2 changes: 1 addition & 1 deletion src/fitpack_core_c.f90
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ subroutine pogrid_c(iopt,ider,mu,u,mv,v,z,z0,r,s,nuest,nvest,nu,tu,nv,tv, &

end subroutine pogrid_c

subroutine sphere_c(iopt,m,teta,phi,r,w,s,ntest,npest,eps,nt,tt,np,tp,c, &
pure subroutine sphere_c(iopt,m,teta,phi,r,w,s,ntest,npest,eps,nt,tt,np,tp,c, &
fp,wrk1,lwrk1,wrk2,lwrk2,iwrk,kwrk,ier) bind(C,name='sphere_c')
integer(FP_SIZE), intent(in), value :: iopt,m,ntest,npest,lwrk1,lwrk2,kwrk
real(FP_REAL), intent(in), value :: s,eps
Expand Down