IMTEK-Simulation / NuMPI

Utilities for MPI-parallel numerical calculations with Python
MIT License
2 stars 1 forks source link

save_npy works only for two-dimensional arrays #20

Closed pastewka closed 5 years ago

pastewka commented 5 years ago

Presently, save_npy works only for two-dimensional array. It should at least also work for one-dimensional ones and be able to accepts lists. Examples:

v = [1,2,3]
save_npy('test.npy', v, comm=comm)
sannant commented 5 years ago

Closed by 8ada477fe56f7494be356ab18d91349bdd27c6c1