mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 05:27:41 -05:00
impr: .0f -> .0F
This commit is contained in:
@@ -515,7 +515,7 @@ namespace hex {
|
||||
|
||||
// Return the highest entropy value among all of the blocks
|
||||
double getHighestEntropyBlockValue() {
|
||||
double result = 0.0f;
|
||||
double result = 0.0F;
|
||||
if (!m_yBlockEntropy.empty())
|
||||
result = *std::ranges::max_element(m_yBlockEntropy);
|
||||
return result;
|
||||
@@ -531,7 +531,7 @@ namespace hex {
|
||||
|
||||
// Return the highest entropy value among all of the blocks
|
||||
double getLowestEntropyBlockValue() {
|
||||
double result = 0.0f;
|
||||
double result = 0.0F;
|
||||
if (m_yBlockEntropy.size() > 1)
|
||||
result = *std::min_element(m_yBlockEntropy.begin(), m_yBlockEntropy.end() - 1);
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user