summaryrefslogtreecommitdiff
path: root/neural.c
diff options
context:
space:
mode:
Diffstat (limited to 'neural.c')
-rw-r--r--neural.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/neural.c b/neural.c
index 7f03545..5b443d3 100644
--- a/neural.c
+++ b/neural.c
@@ -153,7 +153,7 @@ DoNNET(void)
*/
for (locnnetstruct->loops = 1; locnnetstruct->loops < MAXNNETLOOPS; locnnetstruct->loops++) {
randnum((int32_t)3);
- if(DoNNetIteration(locnnetstruct->loops) > global_min_ticks) {
+ if(DoNNetIteration(locnnetstruct->loops) > MINIMUM_TICKS) {
break;
}
}
@@ -163,7 +163,7 @@ DoNNET(void)
randnum((int32_t)3); /* Gotta do this for Neural Net */
total_time += DoNNetIteration(locnnetstruct->loops);
iterations += locnnetstruct->loops;
- } while (total_time < locnnetstruct->request_secs * CLOCKS_PER_SEC);
+ } while (total_time < MINIMUM_SECONDS * CLOCKS_PER_SEC);
locnnetstruct->results = (double)(iterations * CLOCKS_PER_SEC) / total_time;
}