@@ -10,9 +10,9 @@ namespace py = pybind11;
10
10
using namespace pybind11 ::literals;
11
11
12
12
13
- # = =============================================================================
14
- # sum.h
15
- # = =============================================================================
13
+ // =============================================================================
14
+ // sum.h
15
+ // =============================================================================
16
16
// void
17
17
// distill(py::array_t<double, py::array::c_style | py::array::forcecast> p) {
18
18
// auto r = p.mutable_unchecked<2>();
@@ -84,11 +84,11 @@ kahan(py::array_t<double, py::array::c_style | py::array::forcecast> p) {
84
84
}
85
85
return s;
86
86
}
87
- # = =============================================================================
88
- # dot.h
89
- # Headers aren' t automatically installed though;
90
- # <https://github.com/pypa/packaging-problems/issues/84>.
91
- # = =============================================================================
87
+ // =============================================================================
88
+ // dot.h
89
+ // Headers aren't automatically installed though;
90
+ // <https://github.com/pypa/packaging-problems/issues/84>.
91
+ // =============================================================================
92
92
using RowMatrixXd = Eigen::Matrix<double , Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor>;
93
93
94
94
py::array_t <double >
@@ -135,7 +135,7 @@ kdot_helper(Eigen::Ref<RowMatrixXd> x, Eigen::Ref<RowMatrixXd> y) {
135
135
result.data ()
136
136
);
137
137
}
138
- # = =============================================================================
138
+ // =============================================================================
139
139
PYBIND11_MODULE (_accupy, m) {
140
140
// sum:
141
141
m.def (" distill" , &distill, " r" _a.noconvert ());
0 commit comments