Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kimwalisch committed Nov 18, 2024
1 parent 6b6cd11 commit f436b4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CpuInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ void CpuInfo::init()

if (cacheSize > 0)
{
if (l1CacheSizes.find(cacheSize) != l1CacheSizes.end())
if (l1CacheSizes.find(cacheSize) == l1CacheSizes.end())
l1CacheSizes[cacheSize] = cpuId;
break;
}
Expand Down

0 comments on commit f436b4b

Please sign in to comment.