Skip to content

Commit adc7cd9

Browse files
committed
remove pinned dependencies
1 parent 19c4cc7 commit adc7cd9

File tree

3 files changed

+4
-11
lines changed

3 files changed

+4
-11
lines changed

gglasso/helper/data_generation.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,7 @@ def sample_covariance_matrix(Sigma, N, seed = None):
219219
samples data for a given covariance matrix Sigma (with K layers)
220220
return: sample covariance matrix S
221221
"""
222-
if seed is not None:
223-
rng = np.random.default_rng(seed)
224-
else:
225-
rng = np.random.default_rng(np.random.randint(low=11111, high=99999))
222+
rng = np.random.default_rng(seed)
226223

227224
if len(Sigma.shape) == 2:
228225
assert abs(Sigma - Sigma.T).max() <= 1e-10

readthedocs-requirements.txt

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
-r ./requirements.txt
22

3-
sphinx==3.5.4
4-
sphinx-gallery==0.8.2
5-
sphinx_rtd_theme==0.5.2
6-
7-
# See https://github.com/readthedocs/readthedocs.org/issues/9038
8-
jinja2<3.1
3+
sphinx
4+
sphinx-gallery
5+
sphinx_rtd_theme
96

107
scikit-fda

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@ matplotlib
77
seaborn
88
networkx
99
regain
10-
decorator==4.4.2

0 commit comments

Comments
 (0)