Skip to content

Commit 9508fe2

Browse files
committed
formatting
1 parent f4bbfee commit 9508fe2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

spiner/piecewise_grid_1d.hpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ class PiecewiseGrid1D {
5757
pointTotals_[i] = point_tot;
5858
point_tot += grids[i].nPoints();
5959
if (i > 0) {
60-
const Real diff = std::abs(grids_[i].min() - grids_[i - 1].max());
61-
const Real avg =
62-
0.5 * (std::abs(grids_[i].min()) + std::abs(grids_[i - 1].max()));
63-
if (ratio_(diff, avg) >= EPS_()) {
64-
PORTABLE_ALWAYS_THROW_OR_ABORT(
60+
const Real diff = std::abs(grids_[i].min() - grids_[i - 1].max());
61+
const Real avg =
62+
0.5 * (std::abs(grids_[i].min()) + std::abs(grids_[i - 1].max()));
63+
if (ratio_(diff, avg) >= EPS_()) {
64+
PORTABLE_ALWAYS_THROW_OR_ABORT(
6565
"Grids must be ordered and intersect at exactly one point.");
66-
}
66+
}
6767
}
6868
}
6969
}

0 commit comments

Comments
 (0)