summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorczgdp1807 <gdp.1807@gmail.com>2021-06-07 11:24:39 +0530
committerczgdp1807 <gdp.1807@gmail.com>2021-06-07 11:24:39 +0530
commitcd66940acce58528f0597c59e8a2d2fe6d18925f (patch)
treeed0fe7cb818399bf8952f7ae89d93c71ad3b99be
parent3b64375d496e100ad9e510e88bf8dbc047add420 (diff)
downloadnumpy-cd66940acce58528f0597c59e8a2d2fe6d18925f.tar.gz
removed debug prints and addressed review
-rw-r--r--numpy/linalg/tests/test_linalg.py4
-rw-r--r--numpy/linalg/umath_linalg.c.src1
2 files changed, 0 insertions, 5 deletions
diff --git a/numpy/linalg/tests/test_linalg.py b/numpy/linalg/tests/test_linalg.py
index 5557ddf12..51f10f27c 100644
--- a/numpy/linalg/tests/test_linalg.py
+++ b/numpy/linalg/tests/test_linalg.py
@@ -1752,9 +1752,6 @@ class TestQR:
def test_stacked_inputs(self):
- curr_state = np.random.get_state()
- np.random.seed(0)
-
normal = np.random.normal
sizes = [(3, 4), (4, 3), (4, 4), (3, 0), (0, 3)]
dts = [np.float32, np.float64, np.complex64]
@@ -1770,7 +1767,6 @@ class TestQR:
self.check_qr_stacked(B)
self.check_qr_stacked(A + 1.j*B)
- np.random.set_state(curr_state)
class TestCholesky:
# TODO: are there no other tests for cholesky?
diff --git a/numpy/linalg/umath_linalg.c.src b/numpy/linalg/umath_linalg.c.src
index f3cd79945..1a1a3babc 100644
--- a/numpy/linalg/umath_linalg.c.src
+++ b/numpy/linalg/umath_linalg.c.src
@@ -3875,7 +3875,6 @@ init_@lapack_func@_complete(GQR_PARAMS_t *params,
fortran_int m,
fortran_int n)
{
- printf("Inside zungqr\n");
npy_uint8 *mem_buff = NULL;
npy_uint8 *mem_buff2 = NULL;
npy_uint8 *a, *q, *tau, *work;