We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7f156d commit 94e5780Copy full SHA for 94e5780
source/source_basis/module_pw/test_gpu/pw_basis_C2C.cpp
@@ -44,9 +44,6 @@ class PW_BASIS_K_GPU_TEST : public ::testing::Test
44
int distribution_type = 1;
45
bool xprime = false;
46
const int nks = 1;
47
- ModuleBase::Vector3<double>* kvec_d;
48
- kvec_d = new ModuleBase::Vector3<double>[nks];
49
- kvec_d[0].set(0, 0, 0);
50
// init
51
const int mypool = 0;
52
const int key = 1;
@@ -180,7 +177,6 @@ class PW_BASIS_K_GPU_TEST : public ::testing::Test
180
177
}
181
178
void TearDown() override
182
179
{
183
- delete[] kvec_d; // mohan add 20250926
184
delete[] h_rhog;
185
delete[] h_rhogout;
186
delete[] h_rhor;
0 commit comments