Merged changes from 3.14 branch
Fixed issues building on Solaris. Up to revno 12497.
This commit is contained in:
@@ -444,7 +444,7 @@ static void convert(aiRecord *prec)
|
||||
}
|
||||
|
||||
/* apply smoothing algorithm */
|
||||
if (prec->smoo != 0.0){
|
||||
if (prec->smoo != 0.0 && finite(prec->val)){
|
||||
if (prec->init) prec->val = val; /* initial condition */
|
||||
prec->val = val * (1.00 - prec->smoo) + (prec->val * prec->smoo);
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user