You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gilles Sadowski (Jira)" <ji...@apache.org> on 2021/06/22 12:40:00 UTC

[jira] [Resolved] (NUMBERS-165) Norm of empty array

     [ https://issues.apache.org/jira/browse/NUMBERS-165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gilles Sadowski resolved NUMBERS-165.
-------------------------------------
    Resolution: Fixed

Commit 9d0e749f7bb4e910a6c97f383afd71b202b3a125 ("master" branch).

> Norm of empty array
> -------------------
>
>                 Key: NUMBERS-165
>                 URL: https://issues.apache.org/jira/browse/NUMBERS-165
>             Project: Commons Numbers
>          Issue Type: Bug
>          Components: core
>            Reporter: Gilles Sadowski
>            Assignee: Gilles Sadowski
>            Priority: Major
>             Fix For: 1.0
>
>
> {code}
> double n = Norm.L1.of(new double[0]); // n == 0
> {code}
> I think that an exception should be raised.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)