Fix bitvect.test.
* src/tests/bitvect.cc: Fix it, it was failing an assert() on 32bit architectures because the subset test was done in the wrong order. Reported by Christopher Ziegler. * NEWS: Mention it.
This commit is contained in:
parent
0510e4dfe8
commit
c2f0a5f02c
2 changed files with 5 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
// -*- coding: utf-8 -*-
|
||||
// Copyright (C) 2013, 2014 Laboratoire de Recherche et Développement
|
||||
// de l'Epita (LRDE).
|
||||
// Copyright (C) 2013, 2014, 2015 Laboratoire de Recherche et
|
||||
// Développement de l'Epita (LRDE).
|
||||
//
|
||||
// This file is part of Spot, a model checking library.
|
||||
//
|
||||
|
|
@ -65,7 +65,7 @@ int main()
|
|||
ECHO(x);
|
||||
|
||||
std::cout << "subset? " << w->is_subset_of(*x)
|
||||
<< ' ' << w->is_subset_of(*v) << '\n';
|
||||
<< ' ' << v->is_subset_of(*w) << '\n';
|
||||
|
||||
for (size_t i = 0; i < 30; ++i)
|
||||
w->push_back((i & 3) == 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue