Skip to content

Commit e45398a

Browse files
committed
Initialize int info in bandenergy.cpp
1 parent 069c434 commit e45398a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/module_hamilt_lcao/module_tddft/bandenergy.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ void compute_ekb(const Parallel_Orbitals* pv,
102102
<< std::endl;
103103
}
104104

105-
int info;
105+
int info = 0;
106106
int naroc[2];
107107

108108
double* Eii = new double[nband];
@@ -230,7 +230,7 @@ void compute_ekb_tensor(const Parallel_Orbitals* pv,
230230
<< std::endl;
231231
}
232232

233-
int info;
233+
int info = 0;
234234
int naroc[2];
235235

236236
// Create a Tensor for Eii

0 commit comments

Comments
 (0)