diff --git a/scico/test/test_numpy_util.py b/scico/test/test_numpy_util.py index a186e5b0c..be1c9f5ab 100644 --- a/scico/test/test_numpy_util.py +++ b/scico/test/test_numpy_util.py @@ -198,5 +198,6 @@ def test_broadcast_nested_shapes(): def test_is_scalar_equiv(): assert is_scalar_equiv(1e0) assert is_scalar_equiv(snp.array(1e0)) + assert is_scalar_equiv(snp.sum(snp.zeros(1))) assert not is_scalar_equiv(snp.array([1e0])) assert not is_scalar_equiv(snp.array([1e0, 2e0]))