Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mtx: some simple warning cleanups #710

Merged
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
2 changes: 1 addition & 1 deletion mtx/private/bcyclic.f90
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ subroutine cycle_onestep( &
if (odd_storage(nlevel)% ul_size < min_sz) then
if (odd_storage(nlevel)% ul_size > 0) &
deallocate(odd_storage(nlevel)% umat1, odd_storage(nlevel)% lmat1)
new_sz = min_sz*1.1 + 100
new_sz = FLOOR(min_sz*1.1) + 100
odd_storage(nlevel)% ul_size = new_sz
allocate (odd_storage(nlevel)% umat1(new_sz), &
odd_storage(nlevel)% lmat1(new_sz), stat=ierr)
Expand Down
12 changes: 6 additions & 6 deletions mtx/public/mtx_dble_decsol.dek
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@

do j=1,n
do i=1,ndim
a(i,j) = cmplx(ar(i,j),ai(i,j))
a(i,j) = cmplx(ar(i,j),ai(i,j), kind=dp)
end do
end do
call zgetrf(n, n, a, ndim, ip, ier)
Expand Down Expand Up @@ -168,7 +168,7 @@

do j=1,n
do i=1,ndim
a(i,j) = cmplx(ar(i,j),ai(i,j))
a(i,j) = cmplx(ar(i,j),ai(i,j), kind=dp)
end do
end do
call zgbtrf(n, n, ml, mu, a, ndim, ip, ier)
Expand Down Expand Up @@ -208,9 +208,9 @@

do j=1,n
do i=1,ndim
a(i,j) = cmplx(ar(i,j),ai(i,j))
a(i,j) = cmplx(ar(i,j),ai(i,j), kind=dp)
end do
b(j) = cmplx(br(j),bi(j))
b(j) = cmplx(br(j),bi(j), kind=dp)
end do
call zgetrs('N', n, 1, a, ndim, ip, b, n, ier)
do j=1,n
Expand Down Expand Up @@ -249,9 +249,9 @@

do j=1,n
do i=1,ndim
a(i,j) = cmplx(ar(i,j),ai(i,j))
a(i,j) = cmplx(ar(i,j),ai(i,j), kind=dp)
end do
b(j) = cmplx(br(j),bi(j))
b(j) = cmplx(br(j),bi(j), kind=dp)
end do
call zgbtrs('N', n, ml, mu, 1, a, ndim, ip, b, n, ier)
do j=1,n
Expand Down
Loading