From 9a0647e148651aacb174e6ed80d52101f18fa0ca Mon Sep 17 00:00:00 2001 From: Jonathan Lambrechts <jonathan.lambrechts@uclouvain.be> Date: Thu, 18 Nov 2010 13:54:57 +0000 Subject: [PATCH] correct previous commit for NETCDF --- Solver/linearSystemPETSc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Solver/linearSystemPETSc.h b/Solver/linearSystemPETSc.h index 8aa4b1382c..7af2b84b90 100644 --- a/Solver/linearSystemPETSc.h +++ b/Solver/linearSystemPETSc.h @@ -279,10 +279,10 @@ class linearSystemPETSc : public linearSystem<scalar> { virtual void allocate(int nbRows) {} virtual void clear(){} virtual void addToMatrix(int row, int col, const scalar &val) {} - virtual void getFromMatrix(int row, int col, scalar &val) const { return 0.; } + virtual void getFromMatrix(int row, int col, scalar &val) const {} virtual void addToRightHandSide(int row, const scalar &val) {} - virtual void getFromRightHandSide(int row, scalar &val) const { return 0.; } - virtual void getFromSolution(int row, scalar &val) const { return 0.; } + virtual void getFromRightHandSide(int row, scalar &val) const {} + virtual void getFromSolution(int row, scalar &val) const {} virtual void zeroMatrix() {} virtual void zeroRightHandSide() {} virtual int systemSolve() { return 0; } -- GitLab