Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 6a5f859101b271807b57c291baa31298d0e93724 1 parent 57a8b8d
@coolaj86 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  hotplate.js
View
2  hotplate.js
@@ -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?)
repeat = true, // if the base condition has yet to be met
count = 0, // safeguard in case the base-case logic is incorrect
- max_count = 10000000000000000;
+ max_count = 15000;
while (true === repeat && count < max_count) {
variance = 0;
Please sign in to comment.
Something went wrong with that request. Please try again.