Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
5ba89c34
Commit
5ba89c34
authored
Jul 09, 2016
by
Wenzel Jakob
Browse files
quench warnings in eigen.h
parent
678d59d2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
include/pybind11/eigen.h
include/pybind11/eigen.h
+1
-1
No files found.
include/pybind11/eigen.h
View file @
5ba89c34
...
@@ -73,7 +73,7 @@ struct type_caster<Type, typename std::enable_if<is_eigen_dense<Type>::value>::t
...
@@ -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
));
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
;
Strides
::
Index
unity
=
1
;
value
=
Eigen
::
Map
<
Type
,
0
,
Strides
>
(
value
=
Eigen
::
Map
<
Type
,
0
,
Strides
>
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment