Skip to content

Commit 9e33c1b

Browse files
committed
fix a typo
1 parent 571cf7d commit 9e33c1b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Spatial/Euclidean/Circle2D.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ private double[] findParameterTs(Line2D line)
171171
var b = 2 * (s.DotProduct(d) - d.DotProduct(cc));
172172
var c = (s - cc).DotProduct(s - cc) - r * r;
173173

174-
var soluions = FindRoots.Polynomial(new[] { c, b, a });
175-
var ts = soluions
174+
var solutions = FindRoots.Polynomial(new[] { c, b, a });
175+
var ts = solutions
176176
.Where(z => z.IsReal())
177177
.Select(z => z.Real)
178178
.ToArray();

0 commit comments

Comments
 (0)