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: Fix test broken


From: Konstantinos Poulios
Subject: [Getfem-commits] [getfem-commits] branch master updated: Fix test broken by last commit
Date: Thu, 07 Mar 2024 04:36:21 -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 77091caf Fix test broken by last commit
77091caf is described below

commit 77091caf6df652137d83507c85421c7b3af855c7
Author: Konstantinos Poulios <logari81@gmail.com>
AuthorDate: Thu Mar 7 10:36:10 2024 +0100

    Fix test broken by last commit
---
 tests/test_small_vector.cc | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/tests/test_small_vector.cc b/tests/test_small_vector.cc
index cf5289a0..d31a7f10 100644
--- a/tests/test_small_vector.cc
+++ b/tests/test_small_vector.cc
@@ -750,7 +750,7 @@ namespace getfem {
       hop2<bgeot::small_vector<char> >();
       hop<bgeot::small_vector<double> >();       
     }
-    bgeot::static_block_allocator::palloc->memstats();
+    bgeot::static_block_allocator::>memstats();
     for (size_type i=0; i < 5; ++i) {
       hop2<test::small_vector<double> >();
       //hop2<test::small_vector<unsigned> >();
@@ -781,8 +781,7 @@ namespace getfem {
     //rrun(mv);
     rrun(Sv);
     //rrun(av);
-    if (bgeot::static_block_allocator::palloc)
-      bgeot::static_block_allocator::palloc->memstats();
+    bgeot::static_block_allocator::memstats();
     cout << "sizeof(size_type)=" << sizeof(size_type) 
         << ", sizeof(base_node)=" << sizeof(base_node) 
         << ", sizeof(base_small_vector)=" << sizeof(base_small_vector) << "\n";



reply via email to

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