ulfaslak / infostop

Python package for detecting stops in trajectory data
Other
62 stars 9 forks source link

'M_PI': undeclared identifier #14

Open carlomarxdk opened 3 years ago

carlomarxdk commented 3 years ago

When installing the package on Windows (with VS2019 building tool, version 14.28.29333), I get the following error: 'M_PI': undeclared identifier

And it seems it can be fixed with: #define M_PI 3.14159265358979323846 #include <cmath>

ulfaslak commented 3 years ago

You're welcome to make a pull request, then I'll test it on a unix system and merge if it runs.