From e21b7f998e64504b012f5562030ba78866e72d83 Mon Sep 17 00:00:00 2001 From: wzj0001 <105164077+randomname23333@users.noreply.github.com> Date: Wed, 3 Apr 2024 03:51:49 +0800 Subject: [PATCH] Update klist.cpp --- source/module_cell/klist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/module_cell/klist.cpp b/source/module_cell/klist.cpp index e11ab183f5c..e3694e2a292 100644 --- a/source/module_cell/klist.cpp +++ b/source/module_cell/klist.cpp @@ -622,7 +622,7 @@ void K_Vectors::ibz_kpoint(const ModuleSymmetry::Symmetry &symm, bool use_symm,s ModuleBase::Matrix3 inv(-1, 0, 0, 0, -1, 0, 0, 0, -1); ModuleBase::Matrix3 ind(1, 0, 0, 0, 1, 0, 0, 0, 1); - int nrotkm; + int nrotkm=0; if(use_symm) { // bravais type of reciprocal lattice and k-lattice