Skip to content

Commit dd58faf

Browse files
committed
Fix: minimium node size is for zero elapsed time
1 parent 1dc3b33 commit dd58faf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/time-tree-calculator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ export class TimeTreeCalculator {
228228
accValues.push({ file, acc });
229229
}
230230
const accNumbers = accValues.map((item) => item.acc);
231-
const minAcc = Math.min(...accNumbers);
231+
const minAcc = 0;
232232
const maxAcc = Math.max(...accNumbers);
233233
const min_d = 6;
234234
const max_d = 100;

0 commit comments

Comments
 (0)