Skip to content

Commit

Permalink
Lower precision for CustomKernelTest.sum_block
Browse files Browse the repository at this point in the history
  • Loading branch information
vigsterkr committed Jan 26, 2017
1 parent a6d0217 commit 8fa5429
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/kernel/CustomKernel_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,8 @@ TEST(CustomKernelTest, sum_block)
float64_t sum3=kernel->sum_block(m, 0, n, m);
float64_t sum4=precomputed_kernel->sum_block(m, 0, n, m);

EXPECT_NEAR(sum3, sum4, 1E-4);
EXPECT_NEAR(sum1, sum3, 1E-4);
EXPECT_NEAR(sum3, sum4, 1E-3);
EXPECT_NEAR(sum1, sum3, 1E-3);

SG_UNREF(precomputed_kernel);
SG_UNREF(kernel);
Expand Down

0 comments on commit 8fa5429

Please sign in to comment.