From b7bd1df4aa50d4e259e2a9c2c5e294c1b6d7fc72 Mon Sep 17 00:00:00 2001 From: Anne de Jong Date: Thu, 19 Jan 2017 18:21:54 +0100 Subject: [PATCH] Redoing residual and jac. --- src/duct/duct.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/duct/duct.cpp b/src/duct/duct.cpp index ba8d9fb..2081fea 100644 --- a/src/duct/duct.cpp +++ b/src/duct/duct.cpp @@ -237,7 +237,7 @@ us Duct::getNEqs(const TaSystem& sys) const { us number_eqs = 4; // When we have to solve a solid heat balance - number_eqs+= (_ductpb.stempmodel() == pb::HeatBalance ? : 0); + number_eqs+= (_ductpb.stempmodel() == pb::HeatBalance ? 1 : 0); us neqs = Ns*number_eqs*(ngp()-1);