From 9566047241aa90531aac154bd9e45be90287b454 Mon Sep 17 00:00:00 2001 From: David Mak Date: Wed, 24 Apr 2024 14:57:54 +0800 Subject: [PATCH] standalone: Fix cbrt never tested --- nac3standalone/demo/src/math.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nac3standalone/demo/src/math.py b/nac3standalone/demo/src/math.py index 1cd3e3d..290c212 100644 --- a/nac3standalone/demo/src/math.py +++ b/nac3standalone/demo/src/math.py @@ -162,7 +162,7 @@ def test_np_expm1(): def test_np_cbrt(): for x in [1.0, 8.0, 27.0, dbl_inf(), -dbl_inf(), dbl_nan()]: - output_float64(np_expm1(x)) + output_float64(np_cbrt(x)) def test_sp_spec_erf(): for x in [-3.0, -2.0, -1.0, 0.0, 1.0, 2.0, 3.0, dbl_inf(), -dbl_inf(), dbl_nan()]: