Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
vshampor committed Nov 19, 2024
1 parent a33f255 commit 138de47
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ static T get_tolerance() {

template <>
float get_tolerance<float>() {
return 1e-6;
return 1e-6f;
}

template <>
Expand Down Expand Up @@ -170,16 +170,16 @@ class CacheRotationKernelTest : public ::testing::Test {
std::shared_ptr<float[]> rotation_coefficients_mem_ptr;
Rank3Matrix<TypeParam> ref_values_after_rotation = {
{
{-0.36602540, 1.41421356, 1.36602540, 0.00000000},
{0.36602540, 1.00000000, 1.36602540, 1.00000000},
{-1.41421356, -1.00000000, 0.00000000, 1.00000000},
{1.00000000, 1.40000000, -1.00000000, -0.20000000},
{-0.36602540f, 1.41421356f, 1.36602540f, 0.00000000f},
{0.36602540f, 1.00000000f, 1.36602540f, 1.00000000f},
{-1.41421356f, -1.00000000f, 0.00000000f, 1.00000000f},
{1.00000000f, 1.40000000f, -1.00000000f, -0.20000000f},
},
{
{0.73205081, -2.82842712, -2.73205081, 0.00000000},
{0.73205081, 2.00000000, 2.73205081, 2.00000000},
{2.82842712, -4.00000000, 1.41421356, 2.00000000},
{2.00000000, 2.80000000, -2.00000000, -0.40000000},
{0.73205081f, -2.82842712f, -2.73205081f, 0.00000000f},
{0.73205081f, 2.00000000f, 2.73205081f, 2.00000000f},
{2.82842712f, -4.00000000f, 1.41421356f, 2.00000000f},
{2.00000000f, 2.80000000f, -2.00000000f, -0.40000000f},
},
};

Expand Down

0 comments on commit 138de47

Please sign in to comment.