Open GianlucaFicarelli opened 1 year ago
Thanks for the repro, I can generate the same error.
I will look into it.
It's an ordering issue when creating the bindings; because the scalar version is registered first, it is used. I guess previously, auto-coercion would happen from the single element array, to a scalar (since this came first), where we would change it back into a vector...
I need to check where else we may be doing this.
With numpy 1.25 and libsonata 0.1.21, this code causes a DeprecationWarning:
Result:
While these calls don't cause any warning: