[cig-commits] [commit] knepley/upgrade-petsc-interface: Fix bug in MeshOps SWIG interface (missing return). (900b50f)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Wed Jan 29 08:54:57 PST 2014


Repository : ssh://geoshell/pylith

On branch  : knepley/upgrade-petsc-interface
Link       : https://github.com/geodynamics/pylith/compare/6557fff63eeb098d4f3fc943137ab18eed873723...900b50f32d0103be409481b455a86c9de4079f62

>---------------------------------------------------------------

commit 900b50f32d0103be409481b455a86c9de4079f62
Author: Brad Aagaard <baagaard at usgs.gov>
Date:   Wed Jan 29 08:54:52 2014 -0800

    Fix bug in MeshOps SWIG interface (missing return).


>---------------------------------------------------------------

900b50f32d0103be409481b455a86c9de4079f62
 modulesrc/topology/MeshOps.i | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/modulesrc/topology/MeshOps.i b/modulesrc/topology/MeshOps.i
index 55ee19b..328d9eb 100644
--- a/modulesrc/topology/MeshOps.i
+++ b/modulesrc/topology/MeshOps.i
@@ -59,8 +59,9 @@
 
 %inline %{
   int
-  MeshOps_numMaterialCells(const pylith::topology::Mesh& mesh, int materialId) {
-    pylith::topology::MeshOps::numMaterialCells(mesh,materialId);
+  MeshOps_numMaterialCells(const pylith::topology::Mesh& mesh, 
+			   int materialId) {
+    return pylith::topology::MeshOps::numMaterialCells(mesh, materialId);
   } // numMaterialCells
 %}
 



More information about the CIG-COMMITS mailing list