Changeset 856


Ignore:
Timestamp:
02/06/16 08:28:35 (3 months ago)
Author:
mmckerns
Message:
 
Location:
mystic
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • mystic/_math/measures.py

    r855 r856  
    142142  return ssum * inf  # protect against ZeroDivision 
    143143 
    144 def support_index(weights, tol=0): 
     144def support_index(weights, tol=0): #XXX: no relative tolerance near zero 
    145145  """get the indicies of the positions which have non-zero weight 
    146146 
     
    151151  return [i for (i,w) in enumerate(weights) if w > tol] 
    152152 
    153 def support(samples, weights, tol=0): 
     153def support(samples, weights, tol=0): #XXX: no relative tolerance near zero 
    154154  """get the positions which have non-zero weight 
    155155 
  • mystic/setup.py

    r855 r856  
    157157    - numpy, version >= 1.0 
    158158    - sympy, version >= 0.6.7 
    159     - dill, version >= 0.2.4 
     159    - dill, version >= 0.2.5 
    160160    - klepto, version >= 0.1.1 
    161161 
     
    309309    numpy_version = '>=1.0' 
    310310    sympy_version = '>=0.6.7'#, <0.7.4' 
    311 dill_version = '>=0.2.4' 
     311dill_version = '>=0.2.5' 
    312312klepto_version = '>=0.1.1' 
    313313scipy_version = '>=0.6.0' 
Note: See TracChangeset for help on using the changeset viewer.