You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2009/04/05 19:21:56 UTC
svn commit: r762123 -
/commons/proper/math/trunk/src/java/org/apache/commons/math/transform/FastFourierTransformer.java
Author: sebb
Date: Sun Apr 5 17:21:56 2009
New Revision: 762123
URL: http://svn.apache.org/viewvc?rev=762123&view=rev
Log:
Cannot be null here
Modified:
commons/proper/math/trunk/src/java/org/apache/commons/math/transform/FastFourierTransformer.java
Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/transform/FastFourierTransformer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/transform/FastFourierTransformer.java?rev=762123&r1=762122&r2=762123&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/transform/FastFourierTransformer.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/transform/FastFourierTransformer.java Sun Apr 5 17:21:56 2009
@@ -700,7 +700,7 @@
}
return null;
}
- if (vector != null && vector.length != dimensionSize.length) {
+ if (vector.length != dimensionSize.length) {
throw MathRuntimeException.createIllegalArgumentException(
"some dimensions don't math: {0} != {1}",
vector.length,dimensionSize.length);