From ae2913e622d813c1d916f67f87ea6cc5a934f4b0 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Thu, 26 Sep 2019 11:19:51 +0100 Subject: [PATCH] Fixed infinite recursion - old code. Needs full review --- .../rheologyLaws/MaxwellViscoelastic/MaxwellViscoelastic.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/solvers/solidMechanics/deprecatedSolvers/materialModels/rheologyModel/rheologyLaws/MaxwellViscoelastic/MaxwellViscoelastic.H b/applications/solvers/solidMechanics/deprecatedSolvers/materialModels/rheologyModel/rheologyLaws/MaxwellViscoelastic/MaxwellViscoelastic.H index 573a7bd44..1750df4f2 100644 --- a/applications/solvers/solidMechanics/deprecatedSolvers/materialModels/rheologyModel/rheologyLaws/MaxwellViscoelastic/MaxwellViscoelastic.H +++ b/applications/solvers/solidMechanics/deprecatedSolvers/materialModels/rheologyModel/rheologyLaws/MaxwellViscoelastic/MaxwellViscoelastic.H @@ -115,7 +115,7 @@ public: //- Return Poisson's ratio virtual tmp nu() const { - return nu(); + return nu(0); } //- Return density