Skip to content

Commit

Permalink
MAINT: small fix to npy_printoptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Holger Kohr committed Aug 11, 2017
1 parent 6b8c9a4 commit 295c3fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion odl/util/utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def __init__(self, **new_opts):
def __enter__(self):
np.set_printoptions(**self.new_opts)

def __exit__(self, type, value, traceback):
def __exit__(self, *exc_info):
np.set_printoptions(**self.orig_opts)


Expand Down

0 comments on commit 295c3fd

Please sign in to comment.