summaryrefslogtreecommitdiff
path: root/test/c/almabench.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/c/almabench.c')
-rw-r--r--test/c/almabench.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/c/almabench.c b/test/c/almabench.c
index c617006..5487b06 100644
--- a/test/c/almabench.c
+++ b/test/c/almabench.c
@@ -186,7 +186,7 @@ double anpm (double a)
void planetpv (double epoch[2], int np, double pv[2][3])
{
// working storage
- int i, j, k;
+ int k;
double t, da, dl, de, dp, di, doh, dmu, arga, argl, am;
double ae, dae, ae2, at, r, v, si2, xq, xp, tl, xsw;
double xcw, xm2, xf, ci2, xms, xmc, xpxq2, x, y, z;
@@ -345,9 +345,7 @@ static void bench(int nloops)
int main(int argc, char ** argv)
{
- if (argc >= 2)
- bench(atoi(argv[1]));
- else
- test();
+ test();
+ bench(1);
return 0;
}