Closed tkoskela closed 1 year ago
Closes #321
OpenMP in apple-clang is problematic, therefore drop apple-clang OpenMP build from the CI matrix.
Changed the array initialisation syntax in integration.cc. Although cppreference says both ways should work in C++11, they recommend initialising with array<t,n> foo = {1,2,3} rather than array<t,n>foo{{1,2,3}}. Added #include <array> which was the cause of the problem. https://stackoverflow.com/questions/12797051/implicit-instantiation-of-undefined-template-when-forward-declaring-template-c
array<t,n> foo = {1,2,3}
array<t,n>foo{{1,2,3}}
#include <array>
Closes #321
OpenMP in apple-clang is problematic, therefore drop apple-clang OpenMP build from the CI matrix.
Changed the array initialisation syntax in integration.cc. Although cppreference says both ways should work in C++11, they recommend initialising with
array<t,n> foo = {1,2,3}
rather thanarray<t,n>foo{{1,2,3}}
. Added#include <array>
which was the cause of the problem. https://stackoverflow.com/questions/12797051/implicit-instantiation-of-undefined-template-when-forward-declaring-template-c