From 48804cdc6c2806f49c04a91ebd28132b5379dcee Mon Sep 17 00:00:00 2001 From: Thomas Witkowski <thomas.witkowski@gmx.de> Date: Fri, 29 May 2009 09:31:16 +0000 Subject: [PATCH] huh --- AMDiS/src/ParMetisPartitioner.cc | 4 ++-- AMDiS/src/SolverMatrix.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/AMDiS/src/ParMetisPartitioner.cc b/AMDiS/src/ParMetisPartitioner.cc index 1cf80cc9..c192a8c9 100644 --- a/AMDiS/src/ParMetisPartitioner.cc +++ b/AMDiS/src/ParMetisPartitioner.cc @@ -47,7 +47,7 @@ namespace AMDiS { // allocate memory eptr = new int[nElements + 1]; - eind = new int[nElements * (dim + 1))]; + eind = new int[nElements * (dim + 1)]; elmdist = new int[mpiSize + 1]; elem_p2a = new int[nElements]; @@ -512,7 +512,7 @@ namespace AMDiS { delete [] partitionElements; delete [] partitionPtr; delete [] bufferOffset; - delete [] recvBufferOffse; + delete [] recvBufferOffset; } void ParMetisPartitioner::descendPartitionData(Element *element) diff --git a/AMDiS/src/SolverMatrix.h b/AMDiS/src/SolverMatrix.h index 4d40eda5..0460c07c 100644 --- a/AMDiS/src/SolverMatrix.h +++ b/AMDiS/src/SolverMatrix.h @@ -44,7 +44,7 @@ namespace AMDiS { void setMatrix(const DOFMatrix& A) { - matrix= &A.getBaseMatrix(); + matrix= &A.getBaseMatrix(); } const DOFMatrix::base_matrix_type& getMatrix() const { return *matrix; } -- GitLab