DrugowitschLab / dm

C++ Diffusion model toolset with Python and Matlab interfaces
Other
16 stars 8 forks source link

isinf -> std::isinf in C++ code #4

Closed carlobaldassi closed 6 years ago

carlobaldassi commented 6 years ago

Running python setup.py build used to produce the following error on Ubuntu 17.04:

../src/ddm_fpt_lib.cpp:239:42: error: ‘isinf’ was not declared in this scope
     const bool infinvleak = isinf(invleak);

This change fixes it.

jdrugo commented 6 years ago

Thanks!