From 0a97c923ec206f60033dfce7cba0bf4afaa30d56 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Fri, 14 Nov 2008 15:48:06 +0000 Subject: [PATCH] fix compile --- Numeric/gmshLinearSystemGmm.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Numeric/gmshLinearSystemGmm.h b/Numeric/gmshLinearSystemGmm.h index 04acada4e2..f94d7b4b91 100644 --- a/Numeric/gmshLinearSystemGmm.h +++ b/Numeric/gmshLinearSystemGmm.h @@ -79,16 +79,16 @@ public : { Msg::Error("Gmm++ is not available on this version of gmsh"); } - virtual bool isAllocated () const {} + virtual bool isAllocated () const { return false; } virtual void allocate (int nbRows) {} virtual void addToMatrix (int _row, int _col, double val) {} - virtual double getFromMatrix (int _row, int _col) const {} + virtual double getFromMatrix (int _row, int _col) const { return 0.; } virtual void addToRightHandSide (int _row, double val) {} - virtual double getFromRightHandSide (int _row) const {} - virtual double getFromSolution (int _row) const {} + virtual double getFromRightHandSide (int _row) const { return 0.; } + virtual double getFromSolution (int _row) const { return 0.; } virtual void zeroMatrix () {} virtual void zeroRightHandSide () {} - virtual int systemSolve () {} + virtual int systemSolve () { return 0; } }; #endif -- GitLab