astro-informatics / purify

Next-generation radio interferometric imaging.
https://astro-informatics.github.io/purify
GNU General Public License v2.0
16 stars 11 forks source link

Compile bug with apple-clang 13 #321

Closed tkoskela closed 1 year ago

tkoskela commented 1 year ago

https://github.com/astro-informatics/purify/actions/runs/5334798693/jobs/9667078304

/Users/runner/work/purify/purify/cpp/purify/integration.cc:44:25: error: implicit instantiation of undefined template 'std::array<double, 2>'
  std::array<t_real, 2> val{{0., 0.}};
                        ^
/Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/__tuple:219:64: note: template is declared here
template <class _Tp, size_t _Size> struct _LIBCPP_TEMPLATE_VIS array;
                                                               ^
/Users/runner/work/purify/purify/cpp/purify/integration.cc:45:25: error: implicit instantiation of undefined template 'std::array<double, 2>'
  std::array<t_real, 2> err{{0., 0.}};