diff options
Diffstat (limited to 'org/madore/ephem/Frames.java')
-rw-r--r-- | org/madore/ephem/Frames.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org/madore/ephem/Frames.java b/org/madore/ephem/Frames.java index a8a4667..3671b3c 100644 --- a/org/madore/ephem/Frames.java +++ b/org/madore/ephem/Frames.java @@ -16,7 +16,7 @@ public final class Frames { throw new IllegalArgumentException("Vector constructor expects 3 coordinates"); this.v = v; } - public Vector(Double... v) { + public Vector(Double[] v) { this(unboxDoubleArray(v)); } public double dotprod(Vector w) { @@ -40,7 +40,7 @@ public final class Frames { throw new IllegalArgumentException("Rotation constructor expects 4 coordinates"); this.q = q; } - public Rotation(Double... q) { + public Rotation(Double[] q) { this(unboxDoubleArray(q)); } public Vector apply(double[] v) { |