Skip to content

Commit 451d602

Browse files
committed
deactivate catch warnings
1 parent c0146ac commit 451d602

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

paramz/util.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ def _set_mem_addr(dest, src) -> None:
5757
another one seems to be unwanted in `numpy>=2`, which is causing some major
5858
problems here.
5959
"""
60-
with warnings.catch_warnings():
61-
warnings.simplefilter("ignore", DeprecationWarning)
60+
# with warnings.catch_warnings():
61+
# warnings.simplefilter("ignore", DeprecationWarning)
6262

63-
# original
64-
# dest.data = src.data
65-
66-
# take 1
67-
dest.data = memoryview(src)
63+
# original
64+
# dest.data = src.data
65+
66+
# take 1
67+
dest.data = memoryview(src)

0 commit comments

Comments
 (0)