Uploaded image for project: 'Commons Numbers'
  1. Commons Numbers
  2. NUMBERS-165

Norm of empty array

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0
    • core
    • None

    Description

      double n = Norm.L1.of(new double[0]); // n == 0
      

      I think that an exception should be raised.

      Attachments

        Activity

          People

            erans Gilles Sadowski
            erans Gilles Sadowski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: