Skip to content

Commit

Permalink
update doc and test bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
nperraud committed Jan 3, 2018
1 parent f728504 commit 69f3039
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pygsp/graphs/nngraphs/sensorlarge.py
Expand Up @@ -24,7 +24,7 @@ class SensorLarge(NNGraph):
--------
>>> import matplotlib.pyplot as plt
>>> G = graphs.SensorLarge(N=3000, seed=42)
>>> plt.spy(G.W, markersize=2)
>>> _ = plt.spy(G.W, markersize=2)
"""

Expand Down
2 changes: 1 addition & 1 deletion pygsp/tests/test_learning.py
Expand Up @@ -80,7 +80,7 @@ def filt(x):
measurements[M == False] = 0

L = G.L.toarray()
recovery = np.linalg.inv(np.diag(1*M) + tau * L) @ (M * measurements.T).T
recovery = np.matmul(np.linalg.inv(np.diag(1*M) + tau * L), (M * measurements.T).T)

# Solve the problem
recovery0 = learning.regression_tik(G, measurements, M, tau=tau)
Expand Down

0 comments on commit 69f3039

Please sign in to comment.