* src/misc/bddalloc.cc (bdd_allocator::initialize): Call
bdd_isrunning() and don't run bdd_init() if it has already been called.
This commit is contained in:
parent
1eb47b1a94
commit
21e2439d06
2 changed files with 12 additions and 3 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2007-04-17 Alexandre Duret-Lutz <adl@gnu.org>
|
||||
|
||||
* src/misc/bddalloc.cc (bdd_allocator::initialize): Call
|
||||
bdd_isrunning() and don't run bdd_init() if it has already been
|
||||
called.
|
||||
|
||||
2007-02-06 Alexandre Duret-Lutz <adl@gnu.org>
|
||||
|
||||
* src/tgbaalgos/randomgraph.cc (random_graph): Fix the
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// Copyright (C) 2003, 2004, 2006 Laboratoire d'Informatique de Paris 6 (LIP6),
|
||||
// département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
||||
// et Marie Curie.
|
||||
// Copyright (C) 2003, 2004, 2006, 2007 Laboratoire d'Informatique de
|
||||
// Paris 6 (LIP6), département Systèmes Répartis Coopératifs (SRC),
|
||||
// Université Pierre et Marie Curie.
|
||||
//
|
||||
// This file is part of Spot, a model checking library.
|
||||
//
|
||||
|
|
@ -40,6 +40,9 @@ namespace spot
|
|||
if (initialized)
|
||||
return;
|
||||
initialized = true;
|
||||
// Buddy might have been initialized by a third-party library.
|
||||
if (bdd_isrunning())
|
||||
return;
|
||||
// The values passed to bdd_init should depends on the problem
|
||||
// the library is solving. It would be nice to allow users
|
||||
// to tune this. By the meantime, we take the typical values
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue