Build error fix

This commit is contained in:
Bjørnar Grip Fjær 2017-05-30 09:31:37 +02:00
parent 69e9b9701b
commit dc9c1a0b42

View File

@ -327,7 +327,7 @@ std::vector<RigCompletionData> RicWellPathExportCompletionDataFeature::generateF
RigCompletionData completion(wellPath->name(), IJKCellIndex(i, j, k)); RigCompletionData completion(wellPath->name(), IJKCellIndex(i, j, k));
completion.addMetadata(location.fishbonesSubs->name(), QString("Sub: %1 Lateral: %2").arg(location.subIndex).arg(lateral.lateralIndex)); completion.addMetadata(location.fishbonesSubs->name(), QString("Sub: %1 Lateral: %2").arg(location.subIndex).arg(lateral.lateralIndex));
double diameter = location.fishbonesSubs->holeRadius() / 1000 * 2; double diameter = location.fishbonesSubs->holeRadius() / 1000 * 2;
CellDirection direction = wellPathCellDirectionToCellDirection(completion.direction); CellDirection direction = wellPathCellDirectionToCellDirection(intersection.direction);
completion.setFromFishbone(diameter, direction); completion.setFromFishbone(diameter, direction);
completionData.push_back(completion); completionData.push_back(completion);
} }
@ -611,18 +611,14 @@ CellDirection RicWellPathExportCompletionDataFeature::wellPathCellDirectionToCel
{ {
case POS_I: case POS_I:
case NEG_I: case NEG_I:
CellDirection::DIR_I; return CellDirection::DIR_I;
break;
case POS_J: case POS_J:
case NEG_J: case NEG_J:
CellDirection::DIR_J; return CellDirection::DIR_J;
break;
case POS_K: case POS_K:
case NEG_K: case NEG_K:
CellDirection::DIR_K; return CellDirection::DIR_K;
break;
default: default:
CellDirection::DIR_UNDEF; return CellDirection::DIR_UNDEF;
break;
} }
} }