hsosik / ifcb-analysis

custom resolver
Other
30 stars 18 forks source link

Deprecation: using a non-integer number instead of an integer will result in an error in the future #5

Closed joefutrelle closed 8 years ago

joefutrelle commented 8 years ago

Two parts of the code generate this deprecation warning:

/vagrant/features_perf/ifcb-analysis/python/ifcb/features/blobs.py:37: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
  C = np.zeros((m,m),dtype=np.bool)
/vagrant/features_perf/ifcb-analysis/python/ifcb/features/blobs.py:39: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
  C[y0:y0+h,x0:x0+w]=B