summaryrefslogtreecommitdiffstats
path: root/org/madore/ephem/Frames.java
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2012-04-17 21:09:36 +0200
committerDavid A. Madore <david+git@madore.org>2012-04-17 21:09:36 +0200
commit12ab2221611336f6d209d643574fdc2d2b1fac16 (patch)
treee8c177bab281602e14494c3ad725e1bfa18a3066 /org/madore/ephem/Frames.java
parent5f00eb3230d89f98d93c6e5bc8ecfa72e4e89b07 (diff)
downloadephem-12ab2221611336f6d209d643574fdc2d2b1fac16.tar.gz
ephem-12ab2221611336f6d209d643574fdc2d2b1fac16.tar.bz2
ephem-12ab2221611336f6d209d643574fdc2d2b1fac16.zip
Various small fixes + add a simple test (computing solar coordinates).
Diffstat (limited to 'org/madore/ephem/Frames.java')
-rw-r--r--org/madore/ephem/Frames.java4
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) {