Commits

Sam Preston  committed a967dc3

bug in AsNPCopy for Field3Ds

  • Participants
  • Parent commits 5d89748

Comments (0)

Files changed (1)

File Code/Python/Common/PyCACommon.py

         sz.append(3)
         out = np.zeros(sz)
         out[:,:,:,0] = out_x
-        out[:,:,:,0] = out_y
-        out[:,:,:,0] = out_z
+        out[:,:,:,1] = out_y
+        out[:,:,:,2] = out_z
     else:
         raise Exception('Expected `out` to be Image3D or Field3D')