Skip to content

Commit

Permalink
initialize some variables (#3904)
Browse files Browse the repository at this point in the history
  • Loading branch information
Esperanzalukas committed Apr 3, 2024
1 parent ed8593a commit 9fb1e4d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/module_base/test/tool_threading_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ TEST(ToolThreadingTEST, TastDist1DLonglong)
long long nw=1;
long long iw=1;
long long nt=16;
long long st;
long long le;
long long st=0;
long long le=0;
ModuleBase::TASK_DIST_1D(nw,iw,nt,st,le);
EXPECT_EQ(st,0);
EXPECT_EQ(le,16);
Expand Down Expand Up @@ -103,8 +103,8 @@ TEST(ToolThreadingTEST, BlockTaskDist1DLonglong)
long long nw=1;
long long iw=1;
long long nt=16;
long long st;
long long le;
long long st=0;
long long le=0;
long long bs=1;
ModuleBase:: BLOCK_TASK_DIST_1D(nw,iw,nt,bs,st,le);
EXPECT_EQ(st,0);
Expand Down

0 comments on commit 9fb1e4d

Please sign in to comment.