polishing

This commit is contained in:
Martin Diehl 2020-01-02 20:49:02 +01:00
parent 1ad8464821
commit f633c67fe4
1 changed files with 6 additions and 6 deletions

View File

@ -411,9 +411,9 @@ pure function math_exp33(A,n)
endif
do i = 1, order
invFac = invFac/real(i,pReal) ! invfac = 1/i!
invFac = invFac/real(i,pReal) ! invfac = 1/(i!)
B = matmul(B,A)
math_exp33 = math_exp33 + invFac*B ! exp = SUM (A^i)/i!
math_exp33 = math_exp33 + invFac*B ! exp = SUM (A^i)/(i!)
enddo
end function math_exp33