Skip to content

Commit

Permalink
symetrize() removed from SharedFormulas.h.
Browse files Browse the repository at this point in the history
Commenting out symmetrize() test.
  • Loading branch information
shinmorino committed Oct 20, 2018
1 parent 45d9005 commit 7145fca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 0 additions & 4 deletions sqaodc/cpu/SharedFormulas.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ namespace sqaod_cpu {

namespace sq = sqaod;

template<class V>
sq::MatrixType<V> symmetrize(const sq::MatrixType<V> &mat);


template<class real>
struct DGFuncs {
typedef sq::MatrixType<real> Matrix;
Expand Down
2 changes: 2 additions & 0 deletions sqaodc/tests/DeviceMathTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ void DeviceMathTest::tests(const sqaod::Dim &dim) {
TEST_ASSERT(dB == hTrans);
}

#if 0
testcase("symmetrize") {
HostMatrix hMat = testMat<real>(sq::Dim(dim.rows, dim.rows));
devCopy(&dA, hMat);
Expand All @@ -304,6 +305,7 @@ void DeviceMathTest::tests(const sqaod::Dim &dim) {
HostMatrix hSym = sqcpu::symmetrize(hMat);
TEST_ASSERT(dB == hSym);
}
#endif

testcase("mvProduct") {
HostMatrix A = testMatBalanced<real>(dim);
Expand Down

0 comments on commit 7145fca

Please sign in to comment.