From 6db3429a269ff406c35133a27cb8d777a7d19440 Mon Sep 17 00:00:00 2001 From: Gauthier Becker <gauthierbecker@gmail.com> Date: Mon, 25 Mar 2013 22:09:00 +0000 Subject: [PATCH] put method GetNumPrimaryVertices const --- Geo/MElement.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Geo/MElement.h b/Geo/MElement.h index 76429591a1..8258a1f5ff 100644 --- a/Geo/MElement.h +++ b/Geo/MElement.h @@ -110,7 +110,7 @@ class MElement virtual int getNumVolumeVertices() const { return 0; } // get the number of primary vertices (first-order element) - int getNumPrimaryVertices() + int getNumPrimaryVertices() const { return getNumVertices() - getNumEdgeVertices() - getNumFaceVertices() - getNumVolumeVertices(); -- GitLab