mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-28 22:14:24 -06:00
adjusting some spaces related to brackets.
No functions change.
This commit is contained in:
parent
e217ca9928
commit
3e449a31d6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user