Commit 68f51079 authored by Wendy Merks-Swolfs's avatar Wendy Merks-Swolfs

Use of () instead of {} to solve compilation error of windows64_msvc_ci

parent 7e24efd8
Pipeline #1342 failed with stage
in 16 minutes and 4 seconds
......@@ -1960,8 +1960,8 @@ static bool meshGeneratorPeriodic(GFace *gf, bool debug = true)
GPoint firstPoint = edge->point(parBounds.low());
GPoint lastPoint = edge->point(parBounds.high());
double param;
if (v->point().distance(SPoint3{firstPoint.x(), firstPoint.y(), firstPoint.z()})
< v->point().distance(SPoint3{lastPoint.x(), lastPoint.y(), lastPoint.z()})) {
if (v->point().distance(SPoint3(firstPoint.x(), firstPoint.y(), firstPoint.z()))
< v->point().distance(SPoint3(lastPoint.x(), lastPoint.y(), lastPoint.z()))) {
// Vertex lies on first point of edge
param = parBounds.low();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment