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: Sat, 3 Oct 2020 20:45:58 -0400 (EDT)

branch: devel-tetsuo-xml-binary
commit 432ea9fcf0939292b8d373cc3dca4d7a7974d656
Author: Tetsuo Koyama <tkoyama010@gmail.com>
AuthorDate: Sun Jul 12 16:13:31 2020 +0900

    :up: src/getfem/getfem_export.h
---
 src/getfem/getfem_export.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/getfem/getfem_export.h b/src/getfem/getfem_export.h
index 356353c..bc6769e 100644
--- a/src/getfem/getfem_export.h
+++ b/src/getfem/getfem_export.h
@@ -267,9 +267,8 @@ namespace getfem {
         os << "<DataArray type=\"Float32\" Name=\"" << remove_spaces(name) << 
"\" "
            << "NumberOfComponents=\"3\" "
            << (ascii ? "format=\"ascii\">\n" : "format=\"binary\">\n");
-      for (size_type i=0; i < nb_val; ++i) {
+      for (size_type i=0; i < nb_val; ++i)
         write_vec(U.begin() + i*Q, Q);
-      }
     } else if (Q == gmm::sqr(dim_)) {
       /* tensors : coef are supposed to be stored in FORTRAN order
          in the VTK/VTU file, they are written with C (row major) order



reply via email to

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