Skip to content
  • Nikola Dinev's avatar
    #71 Restrict py_obj -> DataContainer conversions to numpy arrays · d484fe0a
    Nikola Dinev authored
    The natural  numpy equivalent of the DataContainer is the Fortran array.
    Supporting arbitrarily strided buffers can be tricky. Require np.array
    as input and force conversion to Fortran order if a different type of
    array is supplied. This removes the indexing convention discrepancy
    between numpy and elsa.
    d484fe0a