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:
parent
ca460b7c22
commit
13baf52944
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue