summaryrefslogtreecommitdiffstats
path: root/libdimension/cone.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/cone.c')
-rw-r--r--libdimension/cone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/cone.c b/libdimension/cone.c
index 4d4e2cb..ec230a6 100644
--- a/libdimension/cone.c
+++ b/libdimension/cone.c
@@ -48,7 +48,7 @@ dmnsn_cone_intersection_fn(const dmnsn_object *cone, dmnsn_line l,
poly[0] = l.x0.x*l.x0.x + l.x0.z*l.x0.z
- (l.x0.y*(r2 - r1) + r2 + r1)*(l.x0.y*(r2 - r1) + r2 + r1)/4.0;
- size_t n = dmnsn_solve_polynomial(poly, 2, x);
+ size_t n = dmnsn_polynomial_solve(poly, 2, x);
if (n > 0) {
double t = x[0];