Skip to content

Commit 23d6719

Browse files
Update README.md
1 parent feea879 commit 23d6719

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ import matplotlib.pyplot as plt
4040
import numpy as np
4141

4242
def run(n = 20, m = 97, err = 4, sample = 5, times = 10000):
43-
if sample > n: # or m > n:
43+
if sample > n:
4444
return None
4545

4646
s = np.reshape(np.repeat(n, times), (times, 1))
@@ -70,7 +70,7 @@ Having detailed the mathematical background and how our implementation of LWE wo
7070

7171

7272
```python
73-
r = list(range(1000))
73+
r = list(range(1, 1000))
7474
plt.plot(r, [run(n = i) for i in r], 'r+')
7575
plt.show()
7676
```
@@ -132,8 +132,6 @@ Same behavior. Now let's change the sampling size.
132132

133133

134134
```python
135-
r = list(range(1, 100))
136-
137135
plt.plot(r, [run(sample=10, err = i) for i in r], 'r+')
138136
plt.show()
139137

0 commit comments

Comments
 (0)