Skip to content

Commit

Permalink
suppress errors in pearl
Browse files Browse the repository at this point in the history
Differential Revision: D54462116

fbshipit-source-id: 41f71b678afd4f25b602215062c280e6da4ac0a0
  • Loading branch information
generatedunixname89002005307016 authored and facebook-github-bot committed Mar 3, 2024
1 parent d2e79d9 commit 0f836df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pearl/utils/scripts/figure_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ def moving_average(data: List[Value]) -> Value:
(
sum(data[int(i - MA_WINDOW_SIZE + 1) : i + 1]) / MA_WINDOW_SIZE # pyre-ignore
if i >= MA_WINDOW_SIZE
# pyre-fixme[6]: For 1st argument expected `Iterable[Union[typing_extensi...
else sum(data[: i + 1]) * 1.0 / (i + 1)
) # pyre-ignore
)
for i in range(len(data))
]

Expand Down

0 comments on commit 0f836df

Please sign in to comment.