Run clang-format against cpp (#4358)

This commit is contained in:
Eisuke Kawashima
2021-10-20 11:25:27 +09:00
committed by GitHub
parent 9243404f3d
commit 11532089de
200 changed files with 2806 additions and 2916 deletions

View File

@@ -115,4 +115,4 @@ void ChiralViolationContrib::getGrad(double *pos, double *grad) const {
pos[d_idx3 * dim + 1] * (pos[d_idx1 * dim] - pos[d_idx2 * dim]));
// std::cerr<<"Chiral Violation grad: "<<preFactor<<std::endl;
}
}
} // namespace DistGeom

View File

@@ -94,4 +94,4 @@ void DistViolationContrib::getGrad(double *pos, double *grad) const {
grad[dim * this->d_end2Idx + i] -= dGrad;
}
}
}
} // namespace DistGeom

View File

@@ -78,4 +78,4 @@ bool triangleSmoothBounds(BoundsMatrix *boundsMat, double tol) {
}
return true;
}
}
} // namespace DistGeom

View File

@@ -171,7 +171,7 @@ PyObject *embedBoundsMatrix(python::object boundsMatArg, int maxIters = 10,
return PyArray_Return(res);
}
}
} // namespace RDKit
BOOST_PYTHON_MODULE(DistGeom) {
python::scope().attr("__doc__") =