From 640581ae346c57b95f0ee7048e2921b3aa7624a3 Mon Sep 17 00:00:00 2001 From: Dmitrij Naumov <dmitrij@naumov.de> Date: Sat, 24 Aug 2013 18:48:32 +0200 Subject: [PATCH] Make SerialVectorMatrixBuilder create functions static. --- AssemblerLib/SerialVectorMatrixBuilder.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AssemblerLib/SerialVectorMatrixBuilder.h b/AssemblerLib/SerialVectorMatrixBuilder.h index 1d73108ed19..bf88cafcde8 100644 --- a/AssemblerLib/SerialVectorMatrixBuilder.h +++ b/AssemblerLib/SerialVectorMatrixBuilder.h @@ -26,12 +26,14 @@ public: typedef MatrixType_ MatrixType; public: + static VectorType* createVector(const MeshComponentMap &dist_layout) { VectorType* vec = new VectorType(dist_layout.size()); return vec; } + static MatrixType* createMatrix(const MeshComponentMap &dist_layout) { MatrixType* mat = new MatrixType(dist_layout.size()); -- GitLab