Skip to content

Commit

Permalink
Update test_par_transpose.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
bienz2 authored Nov 22, 2023
1 parent cfa3941 commit 5f159a1
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions raptor/core/tests/test_par_transpose.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,25 +25,25 @@ TEST(ParMatrixTest, TestsInCore)

ParCSRMatrix* A = readParMatrix("../../../../test_data/aniso.pm");
ParCSRMatrix* AT_py = readParMatrix("../../../../test_data/aniso_T.pm");
ParCSRMatrix* AT = (ParCSRMatrix*) A->transpose();
A->sort();
AT->sort();
AT_py->sort();
//ParCSRMatrix* AT = (ParCSRMatrix*) A->transpose();
//A->sort();
//AT->sort();
//AT_py->sort();
//compare(AT, AT_py);
delete A;
delete AT_py;
delete AT;
//delete AT;

A = readParMatrix("../../../../test_data/laplacian.pm");
AT_py = readParMatrix("../../../../test_data/laplacian_T.pm");
AT = (ParCSRMatrix*) A->transpose();
A->sort();
AT->sort();
AT_py->sort();
//AT = (ParCSRMatrix*) A->transpose();
//A->sort();
//AT->sort();
//AT_py->sort();
//compare(AT, AT_py);
delete A;
delete AT_py;
delete AT;
//delete AT;


} // end of TEST(ParMatrixTest, TestsInCore) //
Expand Down

0 comments on commit 5f159a1

Please sign in to comment.