Skip to content

Commit 53763d3

Browse files
committed
Remove DiagH_mock in test_hsolver
1 parent 949eb14 commit 53763d3

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

source/module_hsolver/test/test_hsolver.cpp

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -84,27 +84,27 @@ class TestHSolver : public ::testing::Test
8484
// double test_diagethr_d = hs_d.set_diagethr(0.0, 0, 0, 0.0);
8585
// EXPECT_EQ(test_diagethr_d, 0.0);
8686
// }
87-
namespace hsolver
88-
{
89-
template <typename T, typename Device = base_device::DEVICE_CPU>
90-
class DiagH_mock : public DiagH<T, Device>
91-
{
92-
private:
93-
using Real = typename GetTypeReal<T>::type;
94-
95-
public:
96-
DiagH_mock()
97-
{
98-
}
99-
~DiagH_mock()
100-
{
101-
}
102-
103-
void diag(hamilt::Hamilt<T, Device>* phm_in, psi::Psi<T, Device>& psi, Real* eigenvalue_in)
104-
{
105-
return;
106-
}
107-
};
108-
template class DiagH_mock<std::complex<float>>;
109-
template class DiagH_mock<std::complex<double>>;
110-
}
87+
// namespace hsolver
88+
// {
89+
// template <typename T, typename Device = base_device::DEVICE_CPU>
90+
// class DiagH_mock : public DiagH<T, Device>
91+
// {
92+
// private:
93+
// using Real = typename GetTypeReal<T>::type;
94+
95+
// public:
96+
// DiagH_mock()
97+
// {
98+
// }
99+
// ~DiagH_mock()
100+
// {
101+
// }
102+
103+
// void diag(hamilt::Hamilt<T, Device>* phm_in, psi::Psi<T, Device>& psi, Real* eigenvalue_in)
104+
// {
105+
// return;
106+
// }
107+
// };
108+
// template class DiagH_mock<std::complex<float>>;
109+
// template class DiagH_mock<std::complex<double>>;
110+
// }

0 commit comments

Comments
 (0)