Skip to content

Commit

Permalink
Fix avg calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
JeanLucPons committed Jan 30, 2020
1 parent e2edf00 commit 9e1bb17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BTCCollider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1310,7 +1310,7 @@ void BTCCollider::Search(int nbThread,std::vector<int> gpuId,std::vector<int> gr

if (workFile.length() > 0) {
if ((t1- lastSave) > saveWorkPeriod) {
SaveWork(count, t1 - startTime, params, nbCPUThread + nbGPUThread);
SaveWork(count + offsetCount, t1 - startTime + offsetTime, params, nbCPUThread + nbGPUThread);
lastSave = t1;
}
}
Expand Down

0 comments on commit 9e1bb17

Please sign in to comment.