getfem-commits
[Top][All Lists]
Advanced

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

[Getfem-commits] (no subject)


From: Tetsuo Koyama
Subject: [Getfem-commits] (no subject)
Date: Sun, 5 Jan 2020 10:18:11 -0500 (EST)

branch: devel-tetsuo-fix-import-mesh-error
commit 2780ca8e9afa6181c61cdebd337d2d2480ebcdf3
Author: Tetsuo Koyama <address@hidden>
Date:   Mon Jan 6 00:16:08 2020 +0900

    :wrench: GMSH import format 2.xs
---
 src/getfem_import.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/getfem_import.cc b/src/getfem_import.cc
index 50a5a55..565c3d6 100644
--- a/src/getfem_import.cc
+++ b/src/getfem_import.cc
@@ -342,7 +342,7 @@ namespace getfem {
 
         unsigned cv_nb_nodes;
         if (version >= 2) { /* For versions 2 and 4 */
-          if (version == 2) { /* Format version 2 */
+          if (int(version) == 2) { /* Format version 2 */
             unsigned nbtags;
             f >> type >> nbtags;
             GMM_ASSERT1(nbtags > 0 && nbtags <= 3,



reply via email to

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