Skip to content

Commit 10fb089

Browse files
committed
Correction to the manual
1 parent cf55e53 commit 10fb089

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/data.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ We can loop over the raw BDSIM data easily with pybdsim. ::
7575

7676
We can also get an index with enumeration: ::
7777

78-
for i,event in eventTree:
78+
for i,event in enumerate(eventTree):
7979
print(i, event.Eloss.n)
8080

8181

0 commit comments

Comments
 (0)