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 85d5e07 Fix too strict assertion 85d5e07 is described below commit 85d5e07c867446a77bc8b15c9a107ef368f296f2 Author: Konstantinos Poulios <logar...@gmail.com> AuthorDate: Sun Apr 19 20:54:36 2020 +0200 Fix too strict assertion --- src/getfem_generic_assembly_compile_and_exec.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/getfem_generic_assembly_compile_and_exec.cc b/src/getfem_generic_assembly_compile_and_exec.cc index 0ae8139..6eb3095 100644 --- a/src/getfem_generic_assembly_compile_and_exec.cc +++ b/src/getfem_generic_assembly_compile_and_exec.cc @@ -1287,8 +1287,8 @@ namespace getfem { virtual int exec() { GA_DEBUG_INFO("Instruction: copy small vector"); - GMM_ASSERT1(inin.ctx.is_convex_num_valid(), "Invalid element, " - "probably transformation failed"); + GMM_ASSERT1(!(inin.has_ctx) || inin.ctx.is_convex_num_valid(), + "Invalid element, probably transformation failed"); GMM_ASSERT1(t.size() == vec.size(), "Invalid vector size."); gmm::copy(vec, t.as_vector()); return 0;