Skip to content

Commit

Permalink
patch for python3
Browse files Browse the repository at this point in the history
  • Loading branch information
yger committed May 23, 2018
1 parent d33bd35 commit 6735f26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion circus/shared/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ def get_artefact(params, times_i, tau, nodes):
dx, dy = len(nodes), int(tau)
artefact = numpy.zeros((0, dx, dy), dtype=numpy.float32)
for time in times_i:
snippet = data_file.get_snippet(time, tau, nodes).T.reshape(1, dx, dy)
snippet = data_file.get_snippet(time, int(tau), nodes).T.reshape(1, dx, dy)
artefact = numpy.vstack((artefact, snippet))

artefact = numpy.median(artefact, 0)
Expand Down

0 comments on commit 6735f26

Please sign in to comment.