Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use flattened, one-dimensional arrays (#5)
This addresses the following point from the [BMI best practices](https://bmi.readthedocs.io/en/latest/bmi.best_practices.html#best-practices) > BMI functions always use flattened, one-dimensional arrays. This avoids any issues stemming from row/column-major indexing when coupling models written in different languages. It’s the developer’s responsibility to ensure that array information is flattened/redimensionalized in the correct order. As long as you stay in Julia this difference doesn't matter much since Julia supports linear indexing, e.g. `array[3,1] == array[3]`. But @BSchilperoort pointed out this is not the case when doing interop with e.g. numpy.
- Loading branch information