[LNT] r208534 - Fix stats

Yi Kong Yi.Kong at arm.com
Mon May 12 03:33:31 PDT 2014


Author: kongyi
Date: Mon May 12 05:33:31 2014
New Revision: 208534

URL: http://llvm.org/viewvc/llvm-project?rev=208534&view=rev
Log:
Fix stats

Forgot to update a variable during code refactoring

Modified:
    lnt/trunk/lnt/util/stats.py

Modified: lnt/trunk/lnt/util/stats.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/util/stats.py?rev=208534&r1=208533&r2=208534&view=diff
==============================================================================
--- lnt/trunk/lnt/util/stats.py (original)
+++ lnt/trunk/lnt/util/stats.py Mon May 12 05:33:31 2014
@@ -43,7 +43,7 @@ def mannwhitneyu_small(a, b, sigLevel):
     assert len(a) <= 20, "Sample size must be less than 20."
     assert len(b) <= 20, "Sample size must be less than 20."
 
-    if not sigLevel in tables:
+    if not sigLevel in SIGN_TABLES:
         raise ValueError("Do not have according significance table.")
 
     # Calculate U value for sample groups using method described on Wikipedia.





More information about the llvm-commits mailing list