From 2904c96569b3c263c99c650a494d724962492e79 Mon Sep 17 00:00:00 2001 From: Benjamin Petermann Date: Wed, 15 May 2024 23:25:59 +0200 Subject: [PATCH] fixes #997 --- 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) {