Skip to content

Commit

Permalink
Debug WIP: Update imports
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanJeremy committed Jun 13, 2022
1 parent 1b67063 commit 2541280
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ jobs:
- name: Build Luau
run: make config=release luau luau-analyze

- name: Setup python
run: |
sudo apt-get install python3
- uses: actions/setup-python@v4
with:
python-version: "3.9"
Expand Down
9 changes: 8 additions & 1 deletion bench/measure_time.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
import os, sys, time, numpy
from scipy import mean, stats

try:
import scipy

from scipy import mean, stats
except ModuleNotFoundError:
print("Warning: scipy package is not installed, confidence values will not be available")
stats = None


duration_list = []
Expand Down

0 comments on commit 2541280

Please sign in to comment.