Fixed a Checkstyle complaint.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1165510 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastien Brisard 2011-09-06 06:38:43 +00:00
parent ca460b7c22
commit 13baf52944
1 changed files with 1 additions and 1 deletions

View File

@ -312,7 +312,7 @@ public class ArrayRealVector extends RealVector implements Serializable {
/** {@inheritDoc} */ /** {@inheritDoc} */
@Override @Override
public ArrayRealVector subtract(RealVector v) { public ArrayRealVector subtract(RealVector v) {
if (v instanceof ArrayRealVector) { if (v instanceof ArrayRealVector) {
final double[] vData = ((ArrayRealVector) v).data; final double[] vData = ((ArrayRealVector) v).data;
final int dim = vData.length; final int dim = vData.length;
checkVectorDimensions(dim); checkVectorDimensions(dim);