Skip to content

Commit

Permalink
Fix windows build again.
Browse files Browse the repository at this point in the history
  • Loading branch information
kriben committed Dec 15, 2023
1 parent 5336df4 commit 40cba85
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ std::vector<double> RimFaultReactivationDataAccess::extractModelData( const RigF
std::vector<cvf::Vec3d> corners = grid->elementCorners( elementIndex );

// Move top of sea bed element down to end up inside top element
bool isTopElement = seabedElements.contains( elementIndex );
bool isTopElement = seabedElements.contains( static_cast<unsigned int>( elementIndex ) );
double topDepthAdjust = isTopElement ? 0.1 : 0.0;

double topDepth = computeAverageDepth( corners, { 0, 1, 2, 3 } ) - topDepthAdjust;
Expand Down

0 comments on commit 40cba85

Please sign in to comment.