removing agent for a new system
This commit is contained in:
parent
ff89ec62fd
commit
872a70ad8a
6 changed files with 1422 additions and 149 deletions
1
utils.js
1
utils.js
|
|
@ -77,7 +77,6 @@ function dominantComposition(composition) {
|
|||
let bestId = null;
|
||||
let bestCount = 0;
|
||||
for (const [id, count] of composition) {
|
||||
if (!Number.isFinite(count) || count <= 0) continue;
|
||||
if (count > bestCount) {
|
||||
bestId = id;
|
||||
bestCount = count;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue