Skip to content

Commit

Permalink
Small Corrections: Unit test still failing on ARM64 MacOS
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Jackson <[email protected]>
  • Loading branch information
imikejackson authored and JDuffeyBQ committed Jul 1, 2024
1 parent dd993b0 commit 8c82753
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include "EbsdLib/Core/Orientation.hpp"
#include "EbsdLib/Core/OrientationTransformation.hpp"
#include "EbsdLib/Core/Quaternion.hpp"

#include <EbsdLib/Core/EbsdDataArray.hpp>

#include <algorithm>
Expand Down Expand Up @@ -158,7 +157,7 @@ Result<> ComputeFeatureReferenceCAxisMisorientations::operator()()
index = i * avgMisComps;
if(avgMis[index] == 0.0f)
{
featAvgCAxisMis[i] = 0.0;
featAvgCAxisMis[i] = 0.0f;
}
else
{
Expand All @@ -182,7 +181,7 @@ Result<> ComputeFeatureReferenceCAxisMisorientations::operator()()
}
else
{
featStdevCAxisMis[i] = std::sqrt((1 / avgMis[index]) * avgMis[index + 2]);
featStdevCAxisMis[i] = std::sqrt((1.0f / avgMis[index]) * avgMis[index + 2]);
}
}

Expand Down

0 comments on commit 8c82753

Please sign in to comment.