From 44487b76ae3dc1a626d2b72667460e1e9592732e Mon Sep 17 00:00:00 2001 From: lyken Date: Mon, 22 Jul 2024 17:23:35 +0800 Subject: [PATCH] standalone: interpret_demo.py remove duplicated section --- nac3standalone/demo/interpret_demo.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/nac3standalone/demo/interpret_demo.py b/nac3standalone/demo/interpret_demo.py index e803726f..b948edee 100755 --- a/nac3standalone/demo/interpret_demo.py +++ b/nac3standalone/demo/interpret_demo.py @@ -226,15 +226,6 @@ def patch(module): module.sp_spec_j0 = special.j0 module.sp_spec_j1 = special.j1 - # NumPy NDArray functions - module.np_ndarray = np.ndarray - module.np_empty = np.empty - module.np_zeros = np.zeros - module.np_ones = np.ones - module.np_full = np.full - module.np_eye = np.eye - module.np_identity = np.identity - def file_import(filename, prefix="file_import_"): filename = pathlib.Path(filename) modname = prefix + filename.stem