adjusting some spaces related to brackets.

No functions change.
This commit is contained in:
Kai Bao 2015-06-09 11:25:36 +02:00
parent e217ca9928
commit 3e449a31d6
3 changed files with 20 additions and 18 deletions

View File

@ -910,7 +910,9 @@ namespace Opm {
const double d = (x1 - x2) * (y3 - y4) - (y1 - y2) * (x3 - x4);
if (d == 0.) { return false; }
if (d == 0.) {
return false;
}
const double x = ((x3 - x4) * (x1 * y2 - y1 * x2) - (x1 - x2) * (x3 * y4 - y3 * x4)) / d;
const double y = ((y3 - y4) * (x1 * y2 - y1 * x2) - (y1 - y2) * (x3 * y4 - y3 * x4)) / d;