You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current instatiation of a new StorageNumpy supports the following cases:
StorageNumpy(init_array, name) --> Instantiates a persistent StorageNumpy initialized with the values of init_array
StorageNumpy(init_array) --> Instantiates a volatile StorageNuympy initialized with the values of init_array
StorageNumpy() --> Instantiates an empy volatile StorageNumpy
Otherwise, an exception is thrown during the initialization.
For example, executing: mynp=StorageNumpy(None, "myname")
throws: IndexError: list index out of range
We should fix this and give an error message to the user saying this instantiation is not supported or implement the same behaviour as for the empty volatile StorageNumpy
The text was updated successfully, but these errors were encountered:
Current instatiation of a new StorageNumpy supports the following cases:
StorageNumpy(init_array, name) --> Instantiates a persistent StorageNumpy initialized with the values of init_array
StorageNumpy(init_array) --> Instantiates a volatile StorageNuympy initialized with the values of init_array
StorageNumpy() --> Instantiates an empy volatile StorageNumpy
Otherwise, an exception is thrown during the initialization.
For example, executing:
mynp=StorageNumpy(None, "myname")
throws:
IndexError: list index out of range
We should fix this and give an error message to the user saying this instantiation is not supported or implement the same behaviour as for the empty volatile StorageNumpy
The text was updated successfully, but these errors were encountered: