Skip to content

Commit 533a366

Browse files
authored
Merge pull request rougier#77 from pa-beaufort/patch-1
issue76-find_index
2 parents f49753d + 6e55651 commit 533a366

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/find_index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import matplotlib.pyplot as plt
88

99

10-
def find_view(base, view):
10+
def find_index(base, view):
1111
"""
1212
Given an array that is a `view` of a `base`, find an index such that
1313
`base[index] is view`

0 commit comments

Comments
 (0)