From 461472c24720e470433cc3644be7e2d501179aa4 Mon Sep 17 00:00:00 2001 From: Lutfi Randiva Date: Tue, 19 Apr 2022 22:30:41 +0800 Subject: [PATCH] Fix EOF error --- src/probnum/problems/zoo/linalg/_random_linear_system.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/probnum/problems/zoo/linalg/_random_linear_system.py b/src/probnum/problems/zoo/linalg/_random_linear_system.py index 8ad4a860b4..b0f9baafe3 100644 --- a/src/probnum/problems/zoo/linalg/_random_linear_system.py +++ b/src/probnum/problems/zoo/linalg/_random_linear_system.py @@ -76,7 +76,7 @@ def random_linear_system( Linear system with random sparse matrix. >>> import scipy.sparse - >>> random_sparse_matrix = lambda rng,m,n: scipy.sparse.random(m=m, n=n, + >>> random_sparse_matrix = lambda rng,m,n: scipy.sparse.random(m=m, n=n,\ random_state=rng) >>> linsys_sparse = random_linear_system(rng, random_sparse_matrix, m=4, n=2) >>> isinstance(linsys_sparse.A, scipy.sparse.spmatrix)