summaryrefslogtreecommitdiffstats
path: root/xmrstak
diff options
context:
space:
mode:
Diffstat (limited to 'xmrstak')
-rw-r--r--xmrstak/misc/executor.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmrstak/misc/executor.cpp b/xmrstak/misc/executor.cpp
index 6d06411..055739b 100644
--- a/xmrstak/misc/executor.cpp
+++ b/xmrstak/misc/executor.cpp
@@ -778,12 +778,12 @@ void executor::hashrate_report(std::string& out)
out.append(hps_format(fHps[2], num, sizeof(num))).append(1, ' ');
fTotal[0] += (std::isnormal(fHps[0])) ? fHps[0] : 0.0;
- fTotal[0] += (std::isnormal(fHps[1])) ? fHps[1] : 0.0;
- fTotal[0] += (std::isnormal(fHps[2])) ? fHps[2] : 0.0;
+ fTotal[1] += (std::isnormal(fHps[1])) ? fHps[1] : 0.0;
+ fTotal[2] += (std::isnormal(fHps[2])) ? fHps[2] : 0.0;
fTotalCur[0] += (std::isnormal(fHps[0])) ? fHps[0] : 0.0;
- fTotalCur[0] += (std::isnormal(fHps[1])) ? fHps[1] : 0.0;
- fTotalCur[0] += (std::isnormal(fHps[2])) ? fHps[2] : 0.0;
+ fTotalCur[1] += (std::isnormal(fHps[1])) ? fHps[1] : 0.0;
+ fTotalCur[2] += (std::isnormal(fHps[2])) ? fHps[2] : 0.0;
if((i & 0x1) == 1) //Odd i's
out.append("|\n");
OpenPOWER on IntegriCloud