X-DataInitiative / tick

Module for statistical learning, with a particular emphasis on time-dependent modelling
https://x-datainitiative.github.io/tick/
BSD 3-Clause "New" or "Revised" License
488 stars 106 forks source link

check if input numpy array is empty in hawkes_em.cpp #392

Closed junkyul closed 5 years ago

junkyul commented 5 years ago

One line fix exactly suggested by #390 no runtime error after passing empty numpy array and passed build_test.sh