jubatus / jubatus_core

Jubatus algorithm component
GNU Lesser General Public License v2.1
20 stars 29 forks source link

nearest neighbor: neighbor_row with multi threads fails when data is empty #382

Closed TkrUdagawa closed 7 years ago

TkrUdagawa commented 7 years ago

When I executed neighbor_row to empty model using multi threads, floating exception occurred. This is caused by 0 division when size is 0 like here.

kmaehashi commented 7 years ago

Fixed via #383