Skip to content
Snippets Groups Projects

Feature/fix warnings

Merged Stephan Schulz requested to merge feature/fix_warnings into refactor
All threads resolved!
1 file
+ 5
5
Compare changes
  • Side-by-side
  • Inline
+ 5
5
@@ -445,7 +445,7 @@ public:
std::vector<int> neig;
try {
balancer->getNeighbors(neig);
} catch (CustomException e) {
} catch (CustomException &e) {
std::cout << e.what() << std::endl;
MPI_Abort(MPI_COMM_WORLD, -1);
}
@@ -459,7 +459,7 @@ public:
void getNeighbors(std::vector<int> &neig) {
try {
balancer->getNeighbors(neig);
} catch (CustomException e) {
} catch (CustomException &e) {
std::cout << e.what() << std::endl;
MPI_Abort(MPI_COMM_WORLD, -1);
}
@@ -473,7 +473,7 @@ public:
void getNeighbors(int **neig) {
try {
balancer->getNeighbors(neig);
} catch (CustomException e) {
} catch (CustomException &e) {
std::cout << e.what() << std::endl;
MPI_Abort(MPI_COMM_WORLD, -1);
}
@@ -637,7 +637,7 @@ public:
tag->SetValue(0, procTag);
// determine extent of system
W global_extent[6];
W known_unused global_extent[6];
W local_min[3];
W local_max[3];
W global_min[3];
@@ -842,7 +842,7 @@ public:
delete[] global_vertices;
}
} catch (CustomException e) {
} catch (CustomException &e) {
std::cout << e.what() << std::endl;
MPI_Abort(MPI_COMM_WORLD, -1);
}
Loading