Skip to content

Commit

Permalink
Merge pull request #252 from mjvakili/patch-1
Browse files Browse the repository at this point in the history
fixing a minor typo in PlainText.py
  • Loading branch information
rainwoodman committed Sep 21, 2016
2 parents 4e3ce5e + 3aab3b7 commit eaaed32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nbodykit/core/datasource/PlainText.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def readall(self):
if self.velcols is not None or self.rsd is not None:
vel = numpy.vstack(data[k] for k in self.velcols).T.astype('f4')
vel *= self.velf
data['Velocity'] = Velocity
data['Velocity'] = vel

# do RSD
if self.rsd is not None:
Expand All @@ -109,4 +109,4 @@ def readall(self):
for name in data.dtype.names:
toret[name] = data[name].copy()

return toret
return toret

0 comments on commit eaaed32

Please sign in to comment.