summaryrefslogtreecommitdiff
path: root/altosuilib
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-05-26 17:14:29 -0700
committerKeith Packard <keithp@keithp.com>2017-05-26 17:14:29 -0700
commitfd738d47bbc46d36698350d5450abe1125d990a3 (patch)
treeb44a51bf4cb53a406358a7223176a30a8840c16d /altosuilib
parentaf3c7938f24dcf5ffbce024ed596655b26282cf1 (diff)
altoslib: Make sure AltosFlightSeries is filled in before use
After all of the raw data is captured, the derived data needs to be computed by calling the 'finish' function. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosuilib')
-rw-r--r--altosuilib/AltosUIFlightSeries.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/altosuilib/AltosUIFlightSeries.java b/altosuilib/AltosUIFlightSeries.java
index 0bcc8a6e..eade12af 100644
--- a/altosuilib/AltosUIFlightSeries.java
+++ b/altosuilib/AltosUIFlightSeries.java
@@ -113,7 +113,7 @@ public class AltosUIFlightSeries extends AltosFlightSeries {
}
public AltosUITimeSeries[] series(AltosCalData cal_data) {
- fill_in();
+ finish();
return series.toArray(new AltosUITimeSeries[0]);
}