mirror of
https://github.com/jwinterm/xmr-stak.git
synced 2026-12-03 12:34:15 +01:00
Fix off-by-one
This commit is contained in:
+1
-1
@@ -59,7 +59,7 @@ public:
|
||||
{
|
||||
bool double_mode;
|
||||
|
||||
if(L3KB_size < 0)
|
||||
if(L3KB_size <= 0)
|
||||
break;
|
||||
|
||||
double_mode = L3KB_size / 2048 > (int32_t)(corecnt-i);
|
||||
|
||||
Reference in New Issue
Block a user