Skip to content

Commit b043e99

Browse files
committed
benchmark: remove unused output args
1 parent 4c71215 commit b043e99

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

scripts/benchmark_ecef2geo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def bench(N: int) -> float:
1717
z = np.random.random(N)
1818

1919
tic = time.monotonic()
20-
lat, lon, alt = ecef2geodetic(x, y, z)
20+
_, _, _ = ecef2geodetic(x, y, z)
2121

2222
return time.monotonic() - tic
2323

scripts/benchmark_vincenty.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def bench_vreckon(N: int) -> float:
3131
az = np.random.random(N)
3232

3333
tic = time.monotonic()
34-
a, b = vreckon(ll0[0], ll0[1], sr, az)
34+
_, _ = vreckon(ll0[0], ll0[1], sr, az)
3535

3636
return time.monotonic() - tic
3737

@@ -41,7 +41,7 @@ def bench_vdist(N: int) -> float:
4141
lon = np.random.random(N)
4242

4343
tic = time.monotonic()
44-
asr, aaz = vdist(ll0[0], ll0[1], lat, lon)
44+
_, _ = vdist(ll0[0], ll0[1], lat, lon)
4545

4646
return time.monotonic() - tic
4747

0 commit comments

Comments
 (0)