Skip to content

Commit 3b15571

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 4faa85b commit 3b15571

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/bindings.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ void bind_sparse_matrix(pybind11::module& module) {
144144
.def("vmult", &Matrix::template vmult<Vector, Vector>)
145145
.def("Tvmult", &Matrix::template Tvmult<Vector, Vector>)
146146
.def("get_sparsity_pattern", &Matrix::get_sparsity_pattern, py::return_value_policy::reference)
147-
.def("add", (void(Matrix::*)(Number, const Matrix&)) & Matrix::template add<Number>)
147+
.def("add", (void (Matrix::*)(Number, const Matrix&))&Matrix::template add<Number>)
148148
.def("copy_from", (Matrix & (Matrix::*)(const Matrix&)) & Matrix::template copy_from<Number>)
149149
.def("cg_solve", cg_solve);
150150
}

0 commit comments

Comments
 (0)