epidemic-broadcast-trees
Advanced tools
Comparing version 3.0.2 to 3.0.3
@@ -8,3 +8,3 @@ 'use strict' | ||
function oldest(ready, states) { | ||
function oldest(ready) { | ||
//could do ready.sort but that is O(n*log(n)) (i think?) so faster to iterate | ||
@@ -18,3 +18,3 @@ | ||
min = i | ||
else if (ready[min].ready.timestamp < ready[i].ready.timestamp) min = i | ||
else if (ready[i].ready.timestamp < ready[min].ready.timestamp) min = i | ||
} | ||
@@ -27,3 +27,2 @@ | ||
} | ||
} | ||
@@ -253,1 +252,3 @@ | ||
{ | ||
"name": "epidemic-broadcast-trees", | ||
"description": "", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"homepage": "https://github.com/dominictarr/epidemic-broadcast-trees", | ||
@@ -6,0 +6,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
62403