Commit 21e2439d authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

* src/misc/bddalloc.cc (bdd_allocator::initialize): Call

bdd_isrunning() and don't run bdd_init() if it has already been
called.
parent 1eb47b1a
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
......
// Copyright (C) 2003, 2004, 2006 Laboratoire d'Informatique de Paris 6 (LIP6),
// dpartement Systmes Rpartis Coopratifs (SRC), Universit Pierre
// et Marie Curie.
// Copyright (C) 2003, 2004, 2006, 2007 Laboratoire d'Informatique de
// Paris 6 (LIP6), dpartement Systmes Rpartis Coopratifs (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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment