adjusted safety base-case loop size down to a reasonable limit

This commit is contained in:
AJ ONeal 2010-10-21 01:00:22 -06:00
parent 57a8b8d5bd
commit 6a5f859101
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ var HotPlate = {};
// 0.000000000000001 is the lowest you can go. If you try zero it will run forever (IEEE floating-point errors?) // 0.000000000000001 is the lowest you can go. If you try zero it will run forever (IEEE floating-point errors?)
repeat = true, // if the base condition has yet to be met repeat = true, // if the base condition has yet to be met
count = 0, // safeguard in case the base-case logic is incorrect count = 0, // safeguard in case the base-case logic is incorrect
max_count = 10000000000000000; max_count = 15000;
while (true === repeat && count < max_count) { while (true === repeat && count < max_count) {
variance = 0; variance = 0;