mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-06-09 20:21:01 +00:00
Fix average indexing
This commit is contained in:
@@ -43,7 +43,7 @@ export function noop() {}
|
||||
export class NumStats<T extends number> {
|
||||
private readonly stack: Array<T>;
|
||||
private readonly history: number;
|
||||
private index: 0;
|
||||
private index = 0;
|
||||
|
||||
constructor(history: number) {
|
||||
if (history < 1) {
|
||||
|
||||
Reference in New Issue
Block a user