{"action":"created","issue":{"url":"https://api.github.com/repos/basp-group/purify/issues/7","repository_url":"https://api.github.com/repos/basp-group/purify","labels_url":"https://api.github.com/repos/basp-group/purify/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/basp-group/purify/issues/7/comments","events_url":"https://api.github.com/repos/basp-group/purify/issues/7/events","html_url":"https://github.com/basp-group/purify/issues/7","id":182302247,"number":7,"title":"Compilation error: 'fwd2' is not a member of 'purify::FFTOperator'","user":{"login":"olebole","id":397223,"avatar_url":"https://avatars.githubusercontent.com/u/397223?v=3","gravatar_id":"","url":"https://api.github.com/users/olebole","html_url":"https://github.com/olebole","followers_url":"https://api.github.com/users/olebole/followers","following_url":"https://api.github.com/users/olebole/following{/other_user}","gists_url":"https://api.github.com/users/olebole/gists{/gist_id}","starred_url":"https://api.github.com/users/olebole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olebole/subscriptions","organizations_url":"https://api.github.com/users/olebole/orgs","repos_url":"https://api.github.com/users/olebole/repos","events_url":"https://api.github.com/users/olebole/events{/privacy}","received_events_url":"https://api.github.com/users/olebole/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-11T15:50:33Z","updated_at":"2016-10-13T21:03:08Z","closed_at":null,"body":"When I try to compile on Debian unstable, I get the following errors:\r\n```\r\ncd /build/purify-2.0.0/obj-x86_64-linux-gnu/cpp/purify && /usr/lib/ccache/c++   -Dlibpurify_EXPORTS -I/build/purify-2.0.0/obj-x86_64-linux-gnu/include -I/build/purify-2.\r\n/build/purify-2.0.0/cpp/purify/FFTOperator.cc: In member function 'purify::Matrix<std::complex<double> > purify::FFTOperator::forward(purify::Matrix<std::complex<double>\r\n/build/purify-2.0.0/cpp/purify/FFTOperator.cc:137:3: error: 'fwd2' is not a member of 'purify::FFTOperator'\r\n   FFTOperator::fwd2(dest, input, fftw_flag_, only_plan);\r\n   ^~~~~~~~~~~\r\n/build/purify-2.0.0/cpp/purify/FFTOperator.cc: In member function 'purify::Matrix<std::complex<double> > purify::FFTOperator::inverse(purify::Matrix<std::complex<double>\r\n/build/purify-2.0.0/cpp/purify/FFTOperator.cc:142:3: error: 'inv2' is not a member of 'purify::FFTOperator'\r\n   FFTOperator::inv2(dest, input, fftw_flag_, only_plan);\r\n   ^~~~~~~~~~~\r\n/build/purify-2.0.0/cpp/purify/FFTOperator.cc: In member function 'void purify::FFTOperator::set_up_multithread()':\r\n/build/purify-2.0.0/cpp/purify/FFTOperator.cc:151:3: error: 'clear_plans' is not a member of 'purify::FFTOperator'\r\n   FFTOperator::clear_plans();\r\n   ^~~~~~~~~~~\r\ncpp/purify/CMakeFiles/libpurify.dir/build.make:89: recipe for target 'cpp/purify/CMakeFiles/libpurify.dir/FFTOperator.cc.o' failed\r\n```\r\n`FFTOperator.h` includes `<unsupported/Eigen/FFT>`, which has commented out `fwd2`:\r\n```\r\n    /*\r\n    inline \r\n    void fwd2(Complex * dst, const Complex * src, int n0,int n1)\r\n    {\r\n      m_impl.fwd2(dst,src,n0,n1);\r\n    }\r\n    */\r\n```\r\nLooking into the [eigen3 repository](https://bitbucket.org/eigen/eigen/annotate/1a24287c6c133b46f8929cf5a4550e270ab66025/unsupported/Eigen/FFT?at=default&fileviewer=file-view-default#FFT-200) however shows that `fwd2` has commented out since 2010 (???).\r\n\r\nAny glue here?\r\n"},"comment":{"url":"https://api.github.com/repos/basp-group/purify/issues/comments/253638038","html_url":"https://github.com/basp-group/purify/issues/7#issuecomment-253638038","issue_url":"https://api.github.com/repos/basp-group/purify/issues/7","id":253638038,"user":{"login":"Luke-Pratley","id":11533470,"avatar_url":"https://avatars.githubusercontent.com/u/11533470?v=3","gravatar_id":"","url":"https://api.github.com/users/Luke-Pratley","html_url":"https://github.com/Luke-Pratley","followers_url":"https://api.github.com/users/Luke-Pratley/followers","following_url":"https://api.github.com/users/Luke-Pratley/following{/other_user}","gists_url":"https://api.github.com/users/Luke-Pratley/gists{/gist_id}","starred_url":"https://api.github.com/users/Luke-Pratley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Luke-Pratley/subscriptions","organizations_url":"https://api.github.com/users/Luke-Pratley/orgs","repos_url":"https://api.github.com/users/Luke-Pratley/repos","events_url":"https://api.github.com/users/Luke-Pratley/events{/privacy}","received_events_url":"https://api.github.com/users/Luke-Pratley/received_events","type":"User","site_admin":false},"created_at":"2016-10-13T21:03:08Z","updated_at":"2016-10-13T21:03:08Z","body":"The differences can be found at https://bitbucket.org/LukePratley/eigen/branch/3.2 . As far as I can tell, it is just the headers `unsupported/Eigen/FFT` and `unsupported/Eigen/src/FFT/ei_fftw_impl.h`. You should be able to copy them from the 3.2.tar.gz file"}}
{"actor":{"display_login":"Luke-Pratley"}}