Skip to content

Commit b4505c9

Browse files
author
Archith Iyer
committed
update eigen_solvers
1 parent cec8e61 commit b4505c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common/m_eigen_solver.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -804,9 +804,9 @@ subroutine pythag(a, b, c)
804804
! finds sqrt(a**2+b**2) without overflow or destructive underflow
805805
!
806806
real(wp) :: p, r, s, t, u
807-
p = dmax1(abs(a), abs(b))
807+
p = max(abs(a), abs(b))
808808
if (p == 0.0_wp) go to 20
809-
r = (dmin1(abs(a), abs(b))/p)**2
809+
r = (min(abs(a), abs(b))/p)**2
810810
10 continue
811811
t = 4.0_wp + r
812812
if (t == 4.0_wp) go to 20

0 commit comments

Comments
 (0)