On ARM char defaults to unsigned char, which will break the matrix free
face loop. Fix this by being explicit.
Fixes:
/home/ubuntu/dealii-9.4.2/include/deal.II/matrix_free/face_setup_internal.h:522:35:
warning: comparison is always false due to limited range of data type
[-Wtype-limits]
// those faces, a value -1 means that the process with the lower
// rank gets it, whereas a value 0 means that the decision can
// be made in an arbitrary way.
- unsigned int n_faces_lower_proc = 0, n_faces_higher_proc = 0;
- std::vector<char> assignment(other_range.size(), 0);
+ unsigned int n_faces_lower_proc = 0, n_faces_higher_proc = 0;
+ std::vector<signed char> assignment(other_range.size(), 0);
if (inner_face.second.shared_faces.size() > 0)
{
// identify faces that go to the processor with the higher
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams