Skip to content

Commit

Permalink
ignore ts
Browse files Browse the repository at this point in the history
  • Loading branch information
wdvr committed Oct 11, 2024
1 parent bb1a110 commit 29c6850
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions torchci/components/metrics/panels/TimeSeriesPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,10 @@ export default function TimeSeriesPanel({
if (acc[i] === undefined) {
acc[i] = v;
} else {
// @ts-ignore
if (v[1] === undefined) {
v[1] = 0;
}
acc[i][1] += v[1];
}
});
Expand Down

0 comments on commit 29c6850

Please sign in to comment.