Skip to content

Commit f4a889b

Browse files
committed
c++ fixes
1 parent f55907b commit f4a889b

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/pybind11.cpp

+9-9
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ namespace py = pybind11;
1010
using namespace pybind11::literals;
1111

1212

13-
# ==============================================================================
14-
# sum.h
15-
# ==============================================================================
13+
// =============================================================================
14+
// sum.h
15+
// =============================================================================
1616
// void
1717
// distill(py::array_t<double, py::array::c_style | py::array::forcecast> p) {
1818
// auto r = p.mutable_unchecked<2>();
@@ -84,11 +84,11 @@ kahan(py::array_t<double, py::array::c_style | py::array::forcecast> p) {
8484
}
8585
return s;
8686
}
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+
// =============================================================================
9292
using RowMatrixXd = Eigen::Matrix<double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor>;
9393

9494
py::array_t<double>
@@ -135,7 +135,7 @@ kdot_helper(Eigen::Ref<RowMatrixXd> x, Eigen::Ref<RowMatrixXd> y) {
135135
result.data()
136136
);
137137
}
138-
# ==============================================================================
138+
// =============================================================================
139139
PYBIND11_MODULE(_accupy, m) {
140140
// sum:
141141
m.def("distill", &distill, "r"_a.noconvert());

0 commit comments

Comments
 (0)