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

Typo in SparseMatrix.hpp - unorderd_map #52

Closed
christopheredsall opened this issue Jan 13, 2018 · 1 comment
Closed

Typo in SparseMatrix.hpp - unorderd_map #52

christopheredsall opened this issue Jan 13, 2018 · 1 comment

Comments

@christopheredsall
Copy link
Contributor

Attempting to build with a modern GCC I get

/usr/bin/g++ -c -DHPCG_NO_MPI -I./src -I./src/GCC_OMP  -O3 -ffast-math -ftree-vectorize -ftree-vectorizer-verbose=0 -fopenmp -I../src ../src/main.cpp -o src/main.o
In file included from ../src/GenerateProblem.hpp:17:0,
                 from ../src/main.cpp:42:
../src/SparseMatrix.hpp:36:31: error: ‘unorderd_map’ in namespace ‘std’ does not name a template type
 using GlobalToLocalMap = std::unorderd_map< global_int_t, local_int_t >;
                               ^~~~~~~~~~~~

Spelling it unordered_map allows the build to complete

christopheredsall added a commit to christopheredsall/hpcg that referenced this issue Jan 13, 2018
@christopheredsall
Copy link
Contributor Author

I should have cheked the issues more thoroughly - this duplicates part of #43

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