tdegeus / GooseFEM

Several types of Finite Element simulations in C++ (with a Python interface)
http://goosefem.rtfd.io
GNU General Public License v3.0
9 stars 6 forks source link

Fix tests #170

Closed tdegeus closed 3 years ago

tdegeus commented 3 years ago

In file included from /home/runner/work/GooseFEM/GooseFEM/docs/examples/statics/Periodic_LinearElastic/main.cpp:4: 37 /usr/share/miniconda/envs/test/include/XDMFWrite_HighFive.hpp: In instantiation of ‘static std::__cxx11::string XDMFWrite_HighFive::detail::to<T, >::str(const T&) [with T = GooseFEM::Mesh::ElementType; = void; std::cxx11::string = std::cxx11::basic_string]’: 38 /usr/share/miniconda/envs/test/include/XDMFWrite_HighFive.hpp:595:27: required from ‘std::vector<std::cxx11::basic_string > XDMFWrite_HighFive::Topology(const HighFive::File&, const string&, const T&) [with T = GooseFEM::Mesh::ElementType; std::cxx11::string = std::__cxx11::basic_string]’ 39 /home/runner/work/GooseFEM/GooseFEM/docs/examples/statics/Periodic_LinearElastic/main.cpp:159:58: required from here 40 /usr/share/miniconda/envs/test/include/XDMFWrite_HighFive.hpp:334:34: error: no matching function for call to ‘to_string(const GooseFEM::Mesh::ElementType&)’ 41 return std::to_string(arg); 42

tdegeus commented 3 years ago

GooseFEM was improperly detected by XDMFWrite_HighFive because GOOSEFEM_VERSION_MAJOR was deprecated in favour of GOOSEFEM_VERSION. This fixed now in XDMFWrite_HighFive