From 95f71ac376826e2a8a3ee36f37c2daa087da4bbe Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Wed, 23 Feb 2011 16:29:12 +0100 Subject: [PATCH] Fix nps bug The nps settingwas tested for being > 0 in stead of >=0, so that the case of CPU time was not properly handled. --- backend.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/backend.c b/backend.c index 460a4af..855f6d8 100644 --- a/backend.c +++ b/backend.c @@ -13728,7 +13728,7 @@ SendTimeControl(cps, mps, tc, inc, sd, st) SendToProgram(buf, cps); } - if(cps->nps > 0) { /* [HGM] nps */ + if(cps->nps >= 0) { /* [HGM] nps */ if(cps->supportsNPS == FALSE) cps->nps = -1; // don't use if engine explicitly says not supported! else { -- 1.7.0.4