Skip to content

Commit

Permalink
minor fix to omp sorting tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Slaedr committed May 25, 2021
1 parent ddc4ca9 commit b5dbbfe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions omp/test/matrix/fbcsr_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ TEST_F(Fbcsr, SortSortedMatrixIsEquivalentToRef)
dmtx->sort_by_column_index();

GKO_ASSERT_MTX_NEAR(mtx, dmtx, 0);
ASSERT_TRUE(dmtx->is_sorted_by_column_index());
}


Expand All @@ -326,6 +327,7 @@ TEST_F(Fbcsr, SortUnsortedMatrixIsEquivalentToRef)
uns_mtx.omp->sort_by_column_index();

GKO_ASSERT_MTX_NEAR(uns_mtx.ref, uns_mtx.omp, 0);
ASSERT_TRUE(uns_mtx.omp->is_sorted_by_column_index());
}


Expand Down

0 comments on commit b5dbbfe

Please sign in to comment.