Skip to content

Commit 73122a4

Browse files
Updated the Python script
1 parent 7d231f7 commit 73122a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/tools/script.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"../data/benchmark_integer_22.txt",
1212
"../data/benchmark_integer_24.txt",
1313
"../data/benchmark_integer_26.txt"]
14-
P = [18, 20, 22, 24, 26];
14+
P = [2**18-5, 2**20-3, 2**22-3, 2**24-3, 2**26-5];
1515

1616
text1 = str()
1717
text2 = str()
@@ -22,9 +22,9 @@
2222
temp = line.split();
2323
if temp[0] == "4096":
2424
if i < 5:
25-
text1 += temp[1] + " " + str(P[i%5]) + "\n"
25+
text1 += str(P[i%5]) + " " + temp[1] + "\n"
2626
else:
27-
text2 += temp[1] + " " + str(P[i%5]) + "\n"
27+
text2 += str(P[i%5]) + " " + temp[1] + "\n"
2828
file.close()
2929

3030
# Float

0 commit comments

Comments
 (0)