hoxo-m / densratio_py

A Python Package for Density Ratio Estimation
https://github.com/hoxo-m/densratio_py
Other
127 stars 30 forks source link

fix FutureWarning caused by comparison between str and np.ndarray #3

Closed msakai closed 5 years ago

msakai commented 5 years ago

This fixes following warnings:

FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 96.38% when pulling 6fb3ced4ba6422ed61126c99b8e9e2ed1150c405 on msakai:fix-elementwise-comparison-future-warning into 7b7f51273edde830263c68dce8724bb85f441eb6 on hoxo-m:master.

hoxo-m commented 5 years ago

Thank you!