Skip to content

Commit

Permalink
代替トークンorを||に置き換え
Browse files Browse the repository at this point in the history
  • Loading branch information
Appbird committed Nov 13, 2024
1 parent 52ab3f3 commit efd38fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Siv3D/include/Siv3D/detail/Geometry2D.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ namespace s3d
const double absErr = Max(0.0, dSquared - rSquared);
// 相対誤差もしくは絶対誤差のいずれかが許容誤差内ならば許容
if (rSquared == 0) { return absErr < tolerance; }
return absErr/rSquared < tolerance or absErr < tolerance;
return absErr/rSquared < tolerance || absErr < tolerance;
}

//
Expand Down

0 comments on commit efd38fe

Please sign in to comment.