Skip to content
Snippets Groups Projects
Commit c9010d1d authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

Merge branch 'develop' of gitlab.mpcdf.mpg.de:clalescu/bfps into develop

parents d47b1e3e 6741a3fd
Branches
Tags
1 merge request!23WIP: Feature/use cmake
Pipeline #
......@@ -203,10 +203,11 @@ def padd_with_zeros(
"""
if (type(odtype) == type(None)):
odtype = a.dtype
assert(a.shape[0] <= n0 and
a.shape[1] <= n1 and
print(a.shape, n0, n1, n2//2+1)
assert(a.shape[0] <= n1 and
a.shape[1] <= n0 and
a.shape[2] <= n2//2+1)
b = np.zeros((n0, n1, n2//2 + 1) + a.shape[3:], dtype = odtype)
b = np.zeros((n1, n0, n2//2 + 1) + a.shape[3:], dtype = odtype)
m0 = a.shape[1]
m1 = a.shape[0]
m2 = a.shape[2]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment