diff --git a/tests/Halo/createCoefs.py b/tests/Halo/createCoefs.py index 33d7dcbd..64e688fd 100644 --- a/tests/Halo/createCoefs.py +++ b/tests/Halo/createCoefs.py @@ -44,11 +44,11 @@ ypos.append(random.random()*2.0 - 1.0) zpos.append(random.random()*2.0 - 1.0) -exit(0) - print("---- createFromArray usings lists") coef1 = basis.createFromArray(mass, [xpos, ypos, zpos], time=3.0) +exit(0) + mass = np.array(mass) data = np.array([xpos, ypos, zpos])