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

adding two missing header files #865

Merged

Conversation

GitPaean
Copy link
Contributor

@GitPaean GitPaean commented Apr 26, 2022

Issue
compilation errors were reported with Ubuntu 22.04 and g++ version 11.2.0

libecl/lib/ecl/ecl_smspec.cpp:754:16: error: ‘invalid_argument’ is not a member of ‘std’
  754 |     throw std::invalid_argument("Internal error - should not be here \n");
libecl/lib/private-include/detail/ecl/ecl_sum_file_data.hpp:40:73: error: ‘numeric_limits’ is not a member of ‘std’
   40 |       this->report_map.resize( report_step + 1, std::pair<int,int>(std::numeric_limits<int>::max(), -1));
      |                                                                         ^~~~~~~~~~~~~~

Approach
adding header files and in the problematic files.

compilation errors were reported with Ubuntu 22.04 and gcc version
11.2.0
@ertomatic
Copy link
Collaborator

Can one of the admins verify this patch?

@lars-petter-hauge
Copy link
Contributor

lars-petter-hauge commented May 2, 2022

Hi @GitPaean,

Thanks for the PR! We'll get it in

@lars-petter-hauge lars-petter-hauge merged commit 882bd61 into equinor:main May 2, 2022
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

Successfully merging this pull request may close these issues.

3 participants