Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5ee4043

Browse files
committed
Fix np to numpy
1 parent 208cc38 commit 5ee4043

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/mooc/numerical-computing/broadcasting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,6 @@ distances = (points - origin)**2
275275
distances = numpy.sqrt(numpy.sum(distances, axis=1))
276276

277277
# find the most distant point
278-
i = np.argmax(dists)
278+
i = numpy.argmax(distances)
279279
print(points[i])
280280
~~~

0 commit comments

Comments
 (0)