mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-03 21:44:30 +08:00
style: apply readability-braces-around-statements (#8136)
Co-authored-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com>
This commit is contained in:
4
External/CoordGen/CoordGen.h
vendored
4
External/CoordGen/CoordGen.h
vendored
@@ -53,7 +53,9 @@ static CoordGenParams defaultParams;
|
||||
*/
|
||||
template <typename T>
|
||||
unsigned int addCoords(T &mol, const CoordGenParams *params = nullptr) {
|
||||
if (!params) params = &defaultParams;
|
||||
if (!params) {
|
||||
params = &defaultParams;
|
||||
}
|
||||
// FIX: the default value of this should be handled once in a threadsafe way
|
||||
std::string templateFileDir;
|
||||
if (params->templateFileDir != "") {
|
||||
|
||||
Reference in New Issue
Block a user