getfem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Getfem-commits] [getfem-commits] branch master updated: Remove invalid


From: Konstantinos Poulios
Subject: [Getfem-commits] [getfem-commits] branch master updated: Remove invalid assertion
Date: Fri, 18 Dec 2020 11:58:32 -0500

This is an automated email from the git hooks/post-receive script.

logari81 pushed a commit to branch master
in repository getfem.

The following commit(s) were added to refs/heads/master by this push:
     new 8324be3  Remove invalid assertion
8324be3 is described below

commit 8324be3a1a98e71566b397a4b51a076458aa70b0
Author: Konstantinos Poulios <logari81@gmail.com>
AuthorDate: Fri Dec 18 17:58:24 2020 +0100

    Remove invalid assertion
---
 src/getfem_models.cc | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/getfem_models.cc b/src/getfem_models.cc
index a33ae53..94cf1b3 100644
--- a/src/getfem_models.cc
+++ b/src/getfem_models.cc
@@ -2902,9 +2902,6 @@ namespace getfem {
       return mi;
     } else if (imd) {
       bgeot::multi_index mi = imd->tensor_size();
-      size_type q = n * imd->nb_filtered_index();
-      GMM_ASSERT1(q % imd->nb_tensor_elem() == 0,
-                  "Invalid mesh im data vector");
       if (n > 1 || it->second.qdims.size() > 1) {
         size_type i = 0;
         if (mi.back() == 1) { mi.back() *= it->second.qdims[0]; ++i; }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]