astro-informatics / ssht

Fast and exact spin spherical harmonic transforms
http://astro-informatics.github.io/ssht/
GNU General Public License v3.0
11 stars 2 forks source link

C++ compatability #2

Closed Luke-Pratley closed 6 years ago

Luke-Pratley commented 6 years ago

Since I have been using SSHT with a c++ project, I made changes to make it usable with c++. This involved making a macro that defines the complex numbers based on compiling in C++ or C.

I checked it still compiles, and it is fine. Feel free to merge it into master if this is okay.

jasonmcewen commented 6 years ago

What happened to this commit @Luke-Pratley? We can certainly merge it but there are now no changes?

Luke-Pratley commented 6 years ago

I am not sure it is ready to be merged just yet. I found that when I was trying to build it on Argo, with a different C++ compiler, I had to make more changes. I have almost finished with that though, and it seems to be working now. I will probably make another pull request soon.

jasonmcewen commented 6 years ago

Ok, sounds good.