From 7c554b8ff8d5f45734fe8395bf1ca40ed8f27740 Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Thu, 8 Mar 2018 20:28:05 +0100 Subject: [PATCH] Fracture : Fix typo when creating fracture cells for ellipse fracture --- .../ProjectDataModel/Completions/RimEllipseFractureTemplate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ApplicationCode/ProjectDataModel/Completions/RimEllipseFractureTemplate.cpp b/ApplicationCode/ProjectDataModel/Completions/RimEllipseFractureTemplate.cpp index a14d91f133..294dd0c4cc 100644 --- a/ApplicationCode/ProjectDataModel/Completions/RimEllipseFractureTemplate.cpp +++ b/ApplicationCode/ProjectDataModel/Completions/RimEllipseFractureTemplate.cpp @@ -179,7 +179,7 @@ void RimEllipseFractureTemplate::setupFractureGridCells() for (int i = 0; i < numberOfCellsX; i++) { - for (int j = 0; j < numberOfCellsX; j++) + for (int j = 0; j < numberOfCellsY; j++) { double X1 = - halfLength + i * cellSizeX; double X2 = - halfLength + (i+1) * cellSizeX;