mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-25 06:44:59 +00:00
Merge pull request #13006 from tygyh/Remove-self-comparison
Remove self-comparison
This commit is contained in:
commit
1e8b3a58b2
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ protected:
|
||||||
// Read unswapped.
|
// Read unswapped.
|
||||||
const float actual = m_dst.Read<float, false>();
|
const float actual = m_dst.Read<float, false>();
|
||||||
|
|
||||||
if (!actual || actual != actual)
|
if (!actual || std::isnan(actual))
|
||||||
EXPECT_EQ(std::bit_cast<u32>(expected), std::bit_cast<u32>(actual));
|
EXPECT_EQ(std::bit_cast<u32>(expected), std::bit_cast<u32>(actual));
|
||||||
else
|
else
|
||||||
EXPECT_EQ(expected, actual);
|
EXPECT_EQ(expected, actual);
|
||||||
|
|
Loading…
Add table
Reference in a new issue