Don't truncate if not needed

This commit is contained in:
Seth Hillbrand 2024-01-26 09:11:11 -08:00
parent bcad0761a4
commit 3cf8b718f3
1 changed files with 1 additions and 1 deletions

View File

@ -464,7 +464,7 @@ EDA_ANGLE SHAPE_ARC::GetCentralAngle() const
double SHAPE_ARC::GetRadius() const double SHAPE_ARC::GetRadius() const
{ {
return ( m_start - GetCenter() ).EuclideanNorm(); return std::sqrt( ( m_start - GetCenter() ).SquaredEuclideanNorm() );
} }