mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-11 08:03:55 +00:00
quench warnings in eigen.h
This commit is contained in:
parent
678d59d21f
commit
5ba89c340c
@ -73,7 +73,7 @@ struct type_caster<Type, typename std::enable_if<is_eigen_dense<Type>::value>::t
|
||||
|
||||
auto strides = Strides(info.strides[0] / sizeof(Scalar));
|
||||
|
||||
Strides::Index n_elts = info.shape[0];
|
||||
Strides::Index n_elts = (Strides::Index) info.shape[0];
|
||||
Strides::Index unity = 1;
|
||||
|
||||
value = Eigen::Map<Type, 0, Strides>(
|
||||
|
Loading…
Reference in New Issue
Block a user