mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
CppCheck : Add missing assignment to isOk
This commit is contained in:
parent
be77e4e048
commit
e514a77a80
@ -104,7 +104,7 @@ double GeometryTools::getAngle(const cvf::Vec3d& positiveNormalAxis, const cvf::
|
||||
bool isOk = false;
|
||||
cvf::Vec3d v1N = v1.getNormalized(&isOk);
|
||||
if (!isOk) return 0;
|
||||
cvf::Vec3d v2N = v2.getNormalized();
|
||||
cvf::Vec3d v2N = v2.getNormalized(&isOk);
|
||||
if (!isOk) return 0;
|
||||
|
||||
double cosAng = v1N * v2N;
|
||||
|
Loading…
Reference in New Issue
Block a user