From 61b2d1f34c1f3c2b14fe4a131ec5d552c3dbbb61 Mon Sep 17 00:00:00 2001 From: Gilles Sadowski Date: Thu, 26 Jun 2014 13:03:57 +0000 Subject: [PATCH] Advertize correct exception. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1605775 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/java/org/apache/commons/math3/util/MathArrays.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/math3/util/MathArrays.java b/src/main/java/org/apache/commons/math3/util/MathArrays.java index ef261db41..358954b70 100644 --- a/src/main/java/org/apache/commons/math3/util/MathArrays.java +++ b/src/main/java/org/apache/commons/math3/util/MathArrays.java @@ -498,7 +498,7 @@ public class MathArrays { * @since 3.4 */ public static void checkNotNaN(final double[] in) - throws NotStrictlyPositiveException { + throws NotANumberException { for(int i = 0; i < in.length; i++) { if (Double.isNaN(in[i])) { throw new NotANumberException();