Skip to content

Commit

Permalink
Fixed problem with 'min-var' not handling Missing.Value correctly,
Browse files Browse the repository at this point in the history
based on patch submitted by Kent Polk. [805]
  • Loading branch information
petrilli committed Oct 28, 1999
1 parent 83c9378 commit cc4e439
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions DT_InSV.py
Expand Up @@ -85,8 +85,8 @@
__doc__='''Sequence variables support
$Id: DT_InSV.py,v 1.14 1999/08/25 19:19:25 jim Exp $'''
__version__='$Revision: 1.14 $'[11:-2]
$Id: DT_InSV.py,v 1.15 1999/10/28 17:08:36 petrilli Exp $'''
__version__='$Revision: 1.15 $'[11:-2]

from string import lower, rfind
from math import sqrt
Expand Down Expand Up @@ -237,6 +237,8 @@ def statistics(self,name,key):
if mapping: item=item[name]
else: item=getattr(item,name)
try:
if item is mv:
item = None
s=item*item
sum=sum+item
sumsq=sumsq+s
Expand Down

0 comments on commit cc4e439

Please sign in to comment.