Skip to content

Commit 42f6591

Browse files
authored
Merge pull request #814 from pxlxingliang/develop
fix the mock bug of ddot function
2 parents 8b6b999 + d876bfc commit 42f6591

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

source/src_pw/test/diago_david_test.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#include"../diago_david.h"
2-
#include"../diago_cg.h"
32
#include"./diago_mock.h"
43
#include"gtest/gtest.h"
54
#include"mpi.h"
@@ -28,9 +27,6 @@
2827
*
2928
*/
3029

31-
//mock the ddot_real function
32-
double Diago_CG::ddot_real(int const&, std::complex<double> const*, std::complex<double> const*, bool) {};
33-
3430
//use lapack to calcualte eigenvalue of matrix hm
3531
//NOTE: after finish this function, hm stores the eigen vectors.
3632
void lapackEigen(int &npw, ModuleBase::ComplexMatrix &hm, ModuleBase::ComplexMatrix &ev,double * e, bool outtime=false)

0 commit comments

Comments
 (0)