From 13baf529444e9ccca1cd8fbf9701b08c22d42650 Mon Sep 17 00:00:00 2001 From: Sebastien Brisard Date: Tue, 6 Sep 2011 06:38:43 +0000 Subject: [PATCH] Fixed a Checkstyle complaint. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1165510 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/commons/math/linear/ArrayRealVector.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/math/linear/ArrayRealVector.java b/src/main/java/org/apache/commons/math/linear/ArrayRealVector.java index 165f5b75c..a3808cc8d 100644 --- a/src/main/java/org/apache/commons/math/linear/ArrayRealVector.java +++ b/src/main/java/org/apache/commons/math/linear/ArrayRealVector.java @@ -312,7 +312,7 @@ public class ArrayRealVector extends RealVector implements Serializable { /** {@inheritDoc} */ @Override public ArrayRealVector subtract(RealVector v) { - if (v instanceof ArrayRealVector) { + if (v instanceof ArrayRealVector) { final double[] vData = ((ArrayRealVector) v).data; final int dim = vData.length; checkVectorDimensions(dim);