From c6198d463eab50dff70051cade2c3603d65181b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atgeirr=20Fl=C3=B8=20Rasmussen?= Date: Fri, 19 Nov 2010 14:05:03 +0100 Subject: [PATCH] Removed unnecessary variable. --- src/TPFACompressiblePressureSolver.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/TPFACompressiblePressureSolver.hpp b/src/TPFACompressiblePressureSolver.hpp index 75b75805..5709f397 100644 --- a/src/TPFACompressiblePressureSolver.hpp +++ b/src/TPFACompressiblePressureSolver.hpp @@ -77,12 +77,10 @@ public: int num_cells = grid.numCells(); int ngconn = grid_.c_grid()->cell_facepos[num_cells]; ncf_.resize(num_cells); - int count = 0; for (int cell = 0; cell < num_cells; ++cell) { int num_local_faces = grid.numCellFaces(cell); ncf_[cell] = num_local_faces; } - assert(count == ngconn); htrans_.resize(ngconn); tpfa_htrans_compute(grid_.c_grid(), perm, &htrans_[0]);