Skip to content
Permalink
Browse files

fix #2128

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12277 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Nov 28, 2009
1 parent 92b96b6 commit 17d142d0045435196d2cfda71c5c74895cc9854a
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/fTools/tools/doVisual.py
@@ -334,7 +334,7 @@ def basic_statistics( self, vlayer, myField ):
if ( nVal % 2 ) == 0:
medianVal = 0.5 * ( lstVal[ int( ( nVal - 1 ) / 2 ) ] + lstVal[ int( ( nVal ) / 2 ) ] )
else:
medianVal = lstVal[ ( nVal + 1 ) / 2 ]
medianVal = lstVal[ int( ( nVal + 1 ) / 2 ) ]
lstStats = []
lstStats.append( self.tr( "Mean:" ) + unicode( meanVal ) )
lstStats.append( self.tr( "StdDev:" ) + unicode( stdVal ) )

0 comments on commit 17d142d

Please sign in to comment.