Closed thchr closed 1 year ago
I think this is, because qhull itself does not work for 1-d inputs. Should add a check for 1-D input in the constructor, of course. qhull manual: "For convex hulls and halfspace intersections, Qhull may be used for 2-d up to 8-d. For Voronoi diagrams and Delaunay triangulations, Qhull may be used for 2-d up to 7-d."
Added assert for 1d input in master.
Wonderful, thanks for looking at this!
(Although I think, technically, a plain error
would be more Julian since @asserts
can be removed depending on compiler settings)
ah, yes, error is better. I will change it. Have been writing mostly c++ lately.