Skip to content

Commit

Permalink
Use float for double check
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Luis Rivero <jrivero@honurobotics.com>
  • Loading branch information
j-rivero committed Nov 28, 2024
1 parent 13505a7 commit 2bc23aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphics/src/AssimpLoader_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ TEST_F(AssimpLoader, LoadGlTF2BoxTransmission)
const common::MaterialPtr mat = mesh->MaterialByIndex(0u);
ASSERT_TRUE(mat.get());
// transmission currently modeled as transparency
EXPECT_DOUBLE_EQ(0.1, mat->Transparency());
EXPECT_FLOAT_EQ(0.1f, mat->Transparency());
delete mesh;
#endif
}
Expand Down

0 comments on commit 2bc23aa

Please sign in to comment.