File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 18
18
#define PYBIND11_COMPATIBILITY_WDEPRECATED_COPY
19
19
#endif
20
20
21
+ /*
21
22
#if defined(__GNUC__)
22
23
// These suppressions are needed only for certain compilers and versions of Eigen, but:
23
24
// * Maintaining narrowly defined ifdefs is very complicated/expensive.
29
30
# pragma GCC diagnostic ignored "-Wdeprecated-copy-dtor"
30
31
#endif
31
32
#endif
33
+ */
32
34
33
35
#include < Eigen/Core>
34
36
#include < Eigen/SparseCore>
@@ -87,16 +89,20 @@ template <bool EigenRowMajor> struct EigenConformable {
87
89
if (rstride < 0 || cstride < 0 ) {
88
90
negativestrides = true ;
89
91
} else {
92
+ /*
90
93
#if defined(PYBIND11_COMPATIBILITY_WDEPRECATED_COPY)
91
94
// Suppressing warning originating from Eigen header.
92
95
# pragma GCC diagnostic push
93
96
# pragma GCC diagnostic ignored "-Wdeprecated-copy"
94
97
#endif
98
+ */
95
99
stride = {EigenRowMajor ? rstride : cstride /* outer stride */ ,
96
100
EigenRowMajor ? cstride : rstride /* inner stride */ };
101
+ /*
97
102
#if defined(PYBIND11_COMPATIBILITY_WDEPRECATED_COPY)
98
103
# pragma GCC diagnostic pop
99
104
#endif
105
+ */
100
106
}
101
107
}
102
108
// Vector type:
You can’t perform that action at this time.
0 commit comments