Fix handling of one-dimensional input arrays
In eigen.h, type_caster<Type>::load(): For the 'ndim == 1' case, use the 'InnerStride' type because there is only an inner stride for a vector. Choose between (n_elts x 1) or (1 x n_elts) according to whether we're constructing a Vector or a RowVector.
Showing
Please
register
or
sign in
to comment