Undo buggy change

This commit is contained in:
Andrew Johnson
2016-08-28 23:41:35 -05:00
parent fc66793ee2
commit 056edc0d8a

View File

@@ -61,6 +61,9 @@ static long read_ai(aiRecord *prec)
{
double val;
if (dbLinkIsConstant(&prec->inp))
return 2;
if (!dbGetLink(&prec->inp, DBR_DOUBLE, &val, 0, 0)) {
/* Apply smoothing algorithm */