Skip to content

Commit

Permalink
Fix uninitialized variable.
Browse files Browse the repository at this point in the history
svn-origin-rev: 15116
  • Loading branch information
agloess committed Mar 2, 2015
1 parent 1658055 commit 74026bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/mathlib.F
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,7 @@ SUBROUTINE get_pseudo_inverse_svd(a,a_pinverse,rskip,error)
CALL timeset(routineN,handle)

n=SIZE(a,1)
ALLOCATE(u(n,n),vt(n,n),sig(n),sig_plus(n,n),iwork(8*n),work(1),temp_mat(n,n))
ALLOCATE(u(n,n),vt(n,n),sig(n),sig_plus(n,n),iwork(8*n),work(1),temp_mat(n,n),stat=stat)
CPPostcondition(stat==0,cp_failure_level,routineP,error,failure)
u(:,:) = 0.0_dp
vt(:,:) = 0.0_dp
Expand Down

0 comments on commit 74026bd

Please sign in to comment.