mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Remove local variable definition shadowing other variable
This commit is contained in:
parent
c21655f2b4
commit
09baef3e1c
@ -73,7 +73,7 @@ std::vector<cvf::Mat4d> RivSectionFlattner::calculateFlatteningCSsForPolyline(co
|
||||
cvf::Vec3d p2 = polyLine[1];
|
||||
|
||||
cvf::Mat4d sectionLocalCS = calculateSectionLocalFlatteningCS(p1, p2, extrusionDir);
|
||||
cvf::Mat4d invSectionCS = sectionLocalCS.getInverted();
|
||||
invSectionCS = sectionLocalCS.getInverted();
|
||||
invSectionCS.setTranslation(invSectionCS.translation() + startOffset);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user