Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tests #170

Closed
tdegeus opened this issue Feb 20, 2021 · 1 comment
Closed

Fix tests #170

tdegeus opened this issue Feb 20, 2021 · 1 comment

Comments

@tdegeus
Copy link
Owner

tdegeus commented Feb 20, 2021

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
Copy link
Owner Author

tdegeus commented Feb 24, 2021

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

@tdegeus tdegeus closed this as completed Feb 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant