From 7b7e2a50027a693ee2b7a1a0014e18633450f7d2 Mon Sep 17 00:00:00 2001 From: Ben Petermann <83461111+bpetermann@users.noreply.github.com> Date: Sun, 30 Jun 2024 07:39:28 +0200 Subject: [PATCH] fixes #997 (#998) Co-authored-by: Martin Henz --- xml/chapter2/section1/subsection4.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/chapter2/section1/subsection4.xml b/xml/chapter2/section1/subsection4.xml index 29a5b8546..d426d0af2 100644 --- a/xml/chapter2/section1/subsection4.xml +++ b/xml/chapter2/section1/subsection4.xml @@ -411,7 +411,7 @@ function the_trouble_maker(xl, xu, yl, yu) { const p2 = xl * yu; const p3 = xu * yl; const p4 = xu * yu; - make_interval(math_min(p1, p2, p3, p4), + return make_interval(math_min(p1, p2, p3, p4), math_max(p1, p2, p3, p4)); } function mul_interval(x, y) {