Accept XY in constructor as well.

This commit is contained in:
Michael Bayne
2015-09-17 12:24:00 -07:00
parent 0447064ea9
commit c8dd15647d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ public class Vector extends AbstractVector
}
/** Creates a vector equal to {@code other}. */
public Vector (IVector other) {
public Vector (XY other) {
set(other);
}
+1 -1
View File
@@ -21,7 +21,7 @@ public class Vector extends AbstractVector
}
/** Creates a vector equal to {@code other}. */
public Vector (IVector other) {
public Vector (XY other) {
set(other);
}