We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16fcb15 commit 02b9a72Copy full SHA for 02b9a72
examples/applications/plot_tomography_l1_reconstruction.py
@@ -56,7 +56,7 @@ def _weights(x, dx=1, orig=0):
56
57
58
def _generate_center_coordinates(l_x):
59
- X, Y = np.mgrid[:l_x, :l_x]
+ X, Y = np.mgrid[:l_x, :l_x].astype(np.float64)
60
center = l_x / 2.
61
X += 0.5 - center
62
Y += 0.5 - center
0 commit comments