Commit 6e37062c authored by Theo Steininger's avatar Theo Steininger
Browse files

Fixed test/test_spaces/test_rg_space.py

parent da51048a
......@@ -77,11 +77,11 @@ CONSTRUCTOR_CONFIGS = [
def get_distance_array_configs():
# for RGSpace(shape=(4, 4), distances=None)
# for RGSpace(shape=(4, 4), distances=None, harmonic=True)
cords_0 = np.ogrid[0:4, 0:4]
da_0 = ((cords_0[0] - 4 // 2) * 0.25)**2
da_0 = ((cords_0[0] - 4 // 2))**2
da_0 = np.fft.ifftshift(da_0)
temp = ((cords_0[1] - 4 // 2) * 0.25)**2
temp = ((cords_0[1] - 4 // 2))**2
temp = np.fft.ifftshift(temp)
da_0 = da_0 + temp
da_0 = np.sqrt(da_0)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment