Skip to content

Commit 794495b

Browse files
rootroot
authored andcommitted
modify mymath_test.cpp
1 parent b07c047 commit 794495b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/module_base/test/mymath_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ TEST_F(MymathTest,Hpsort)
5656
index[0] = 0;
5757
//for (int i=0;i<number;i++)
5858
// std::cout << i << " " << rr[i] << std::endl;
59-
//ModuleBase::hpsort(number,rr,index);
60-
std::sort(rr,rr+number);
59+
ModuleBase::hpsort(number,rr,index);
60+
//std::sort(rr,rr+number);
6161
for (int i=0;i<number-1;i++)
6262
{
6363
//std::cout << i << " " << rr[i] << std::endl;

0 commit comments

Comments
 (0)