Skip to content
Snippets Groups Projects
Unverified Commit 78eee9d3 authored by Savici, Andrei T.'s avatar Savici, Andrei T. Committed by GitHub
Browse files

Clang format

parent 2e9594bb
No related branches found
No related tags found
No related merge requests found
......@@ -620,8 +620,7 @@ std::map<std::string, std::string> MDNorm::getBinParameters() {
} else if (binning.size() == 1) {
auto step = binning[0];
double nsteps = (dimMax - dimMin) / step;
if (nsteps + 1 - std::ceil(nsteps) >= 1e-4)
{
if (nsteps + 1 - std::ceil(nsteps) >= 1e-4) {
nsteps = std::ceil(nsteps);
} else {
nsteps = std::floor(nsteps);
......@@ -633,8 +632,7 @@ std::map<std::string, std::string> MDNorm::getBinParameters() {
auto step = binning[1];
dimMax = static_cast<coord_t>(binning[2]);
double nsteps = (dimMax - dimMin) / step;
if (nsteps + 1 - std::ceil(nsteps) >= 1e-4)
{
if (nsteps + 1 - std::ceil(nsteps) >= 1e-4) {
nsteps = std::ceil(nsteps);
} else {
nsteps = std::floor(nsteps);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment