Skip to content

Commit b1f3a0a

Browse files
committed
fix json
1 parent cf67dc8 commit b1f3a0a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/module_io/json_output/test/para_json_test.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -255,13 +255,13 @@ LCAO_Orbitals::~LCAO_Orbitals()
255255
#endif
256256
Magnetism::Magnetism()
257257
{
258-
this->tot_magnetization = 0.0;
259-
this->abs_magnetization = 0.0;
260-
this->start_magnetization = nullptr;
258+
this->tot_mag = 0.0;
259+
this->abs_mag = 0.0;
260+
this->start_mag = nullptr;
261261
}
262262
Magnetism::~Magnetism()
263263
{
264-
delete[] this->start_magnetization;
264+
delete[] this->start_mag;
265265
}
266266
TEST(AbacusJsonTest, InitInfo)
267267
{

0 commit comments

Comments
 (0)