From 50868a28a480fcac7f623e61c59776d7f48c6762 Mon Sep 17 00:00:00 2001
From: Christoph Lehmann <christoph.lehmann@ufz.de>
Date: Mon, 11 Jul 2016 16:20:31 +0200
Subject: [PATCH] [PL] TES changed dimension conditions

---
 ProcessLib/TES/TESLocalAssembler-impl.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ProcessLib/TES/TESLocalAssembler-impl.h b/ProcessLib/TES/TESLocalAssembler-impl.h
index 2054596137e..4eae782c384 100644
--- a/ProcessLib/TES/TESLocalAssembler-impl.h
+++ b/ProcessLib/TES/TESLocalAssembler-impl.h
@@ -257,7 +257,7 @@ std::vector<double> const& TESLocalAssembler<
     ShapeFunction_, IntegrationMethod_,
     GlobalDim>::getIntPtDarcyVelocityY(std::vector<double>& /*cache*/) const
 {
-    assert(_d.getData().velocity.size() >= 2);
+    assert(_d.getData().velocity.size() > 1);
     return _d.getData().velocity[1];
 }
 
@@ -267,7 +267,7 @@ std::vector<double> const& TESLocalAssembler<
     ShapeFunction_, IntegrationMethod_,
     GlobalDim>::getIntPtDarcyVelocityZ(std::vector<double>& /*cache*/) const
 {
-    assert(_d.getData().velocity.size() >= 3);
+    assert(_d.getData().velocity.size() > 2);
     return _d.getData().velocity[2];
 }
 
-- 
GitLab