Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

Commit

Permalink
logic check error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
S74nk0 committed Nov 4, 2016
1 parent 4469af5 commit 27d9b70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NiceHashMiner/Miners/nheqminer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ protected override string GetDevicesCommandString() {
string deviceStringCommand = " ";

if (CPUs.Count > 0) {
if (CPUs[0].MostProfitableAlgorithm.LessThreads > 0 || string.IsNullOrEmpty(CPUs[0].MostProfitableAlgorithm.ExtraLaunchParameters)) {
if (CPUs[0].MostProfitableAlgorithm.LessThreads > 0 || !string.IsNullOrEmpty(CPUs[0].MostProfitableAlgorithm.ExtraLaunchParameters)) {
// TODO parse
deviceStringCommand += " " + ExtraLaunchParametersParser.ParseForCDevs(CPUs, AlgorithmType.Equihash, DeviceType.CPU);
}
Expand Down

0 comments on commit 27d9b70

Please sign in to comment.