From 3e503fa7b2dd21d28b11a223231677470c38fb58 Mon Sep 17 00:00:00 2001 From: Peter Deutsch Date: Thu, 23 Feb 2023 14:54:30 -0500 Subject: [PATCH] Added updated reference, added python2 guard from graph.py --- Part1-Timing/graph.py | 5 +++++ Part1-Timing/reference | Bin 10216 -> 14312 bytes 2 files changed, 5 insertions(+) diff --git a/Part1-Timing/graph.py b/Part1-Timing/graph.py index 9eb1b01..aa1579b 100644 --- a/Part1-Timing/graph.py +++ b/Part1-Timing/graph.py @@ -1,10 +1,15 @@ import os import json +import sys import matplotlib.pyplot as plt import numpy as np from tqdm import tqdm from datetime import datetime +if sys.version_info < (3,0): + print("Run me with python3, not python2!") + sys.exit(1) + num_runs = 100 dict_of_dict_of_lists = dict() diff --git a/Part1-Timing/reference b/Part1-Timing/reference index 7cad2c7ff6351c49a072582046c3dfac750c2cc9..47337ac1a371ae87e9302b139e0dc9c41c5cb7f1 100755 GIT binary patch literal 14312 zcmeHOe{37o9X}^cYiMeR5m;!E>Y;W@H{vEG?b4xuoz~@o8rGErs+H6@iPIRIA2=6C zy8%URyL!RQ+St}f+sJ;Pb*wAd1gJx!q%G8COv9BrEgD73HYyxeMu5Ol2)%v2@7~vU zaniM#_-E3+==}Nqe(!zXkGr#99t^BsSKx3cTnd#N6ygR;42e%F%Bv&+@F_LQe0(la z7AkYW&k-_1?=t{eqjVHZN2in*0?BWm)aT>X(vFc^NJxI?EBmNHD2$5i2l*9|Lh|`o zdkHBOg^~5S`aD9dD0!&L_A^@js41xm!!K1k9d}5-JrdcESn?Z`euL7Fahw{2!pQlg zoY3`xjF*pV$q9v#Y^iKGt+f$d>>+L@Mh&sT$bMgjpG>v1`0v1J-ze)lUtW4-`x#|- zmF3Y$%c|<-(YA_cq^qyLqQ7QU#j0v=Z?|`a=yxfqr#W@gElo<`iWP4h*!;-i`uU3{ zzUSP(=(eGMe3jZwZJ>B$Lxt=){e<&zk>2RnL!b;9;fe4cI|J!CHn|45 zXBPYN^Vn0nW{b1%Ja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