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/20 01:46:00 UTC
[jira] [Created] (NUMBERS-165) Norm of empty array
Gilles Sadowski created NUMBERS-165:
---------------------------------------
Summary: 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
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)