Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pybind11
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
pybind11
Commits
5bc0943e
Unverified
Commit
5bc0943e
authored
Oct 30, 2022
by
Ralf W. Grosse-Kunstleve
Committed by
GitHub
Oct 30, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ensure config, build, toolchain, spelling, etc. issues are not masked. (#4255)
parent
b07d08f6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
include/pybind11/eigen/matrix.h
+0
-1
tests/test_eigen_tensor.py
+10
-2
No files found.
include/pybind11/eigen/matrix.h
View file @
5bc0943e
...
...
@@ -11,7 +11,6 @@
#include "../numpy.h"
// Similar to comments & pragma block in eigen_tensor.h. PLEASE KEEP IN SYNC.
/* HINT: To suppress warnings originating from the Eigen headers, use -isystem.
See also:
https://stackoverflow.com/questions/2579576/i-dir-vs-isystem-dir
...
...
tests/test_eigen_tensor.py
View file @
5bc0943e
...
...
@@ -9,8 +9,16 @@ try:
from
pybind11_tests
import
eigen_tensor_avoid_stl_array
as
avoid
submodules
+=
[
avoid
.
c_style
,
avoid
.
f_style
]
except
ImportError
:
pass
except
ImportError
as
e
:
# Ensure config, build, toolchain, etc. issues are not masked here:
raise
RuntimeError
(
"import pybind11_tests.eigen_tensor_avoid_stl_array FAILED, while "
"import pybind11_tests.eigen_tensor succeeded. "
"Please ensure that "
"test_eigen_tensor.cpp & "
"test_eigen_tensor_avoid_stl_array.cpp "
"are built together (or both are not built if Eigen is not available)."
)
from
e
tensor_ref
=
np
.
empty
((
3
,
5
,
2
),
dtype
=
np
.
int64
)
...
...
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