diff --git a/src/UglyToad.PdfPig.DocumentLayoutAnalysis/KdTree.cs b/src/UglyToad.PdfPig.DocumentLayoutAnalysis/KdTree.cs index 648fed75..0b823e55 100644 --- a/src/UglyToad.PdfPig.DocumentLayoutAnalysis/KdTree.cs +++ b/src/UglyToad.PdfPig.DocumentLayoutAnalysis/KdTree.cs @@ -16,7 +16,7 @@ /// K-D tree data structure of . /// /// The points used to build the tree. - public KdTree(PdfPoint[] points) : base(points, p => p) + public KdTree(IReadOnlyList points) : base(points, p => p) { } ///