mrzv / dionysus

Library for computing persistent homology
http://mrzv.org/software/dionysus2
Other
147 stars 31 forks source link

Some compile errors and their solutions #1

Closed pmichel31415 closed 7 years ago

pmichel31415 commented 7 years ago

Hi,

First I must say I was very happy to find out about this subject, I had struggled with using dionysus in python in its previous iteration and it seems to be working like a charm now.

When I tried to compile on my machine I ran into two errors, I'm sharing them here with the solution for your information. If you want I can do a pull request.

Hope that helps, and thanks for developping this library!

mrzv commented 7 years ago

That was quick. Thanks for the bug report and for the suggested fixes. I've pushed the correction to both, but since neither one was triggering my compiler, can you please check that the problems are indeed fixed? (I used make_tuple(...) for the second one, rather than the explicit constructor call.)

Out of curiosity, what compiler are you using?

I'll pass the first problem and solution upstream, to Hera.

pmichel31415 commented 7 years ago

It worked, thanks!

I was using gcc 5.4.0

mrzv commented 7 years ago

Great! Thanks.