mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 09:35:32 +00:00
avoid compiler warning casting int to bool
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
f9f303e934
commit
3dbf617a46
1 changed files with 2 additions and 2 deletions
|
@ -549,7 +549,7 @@ public:
|
|||
#ifdef _NO_OMP_
|
||||
use_seq = true;
|
||||
#else
|
||||
use_seq = omp_in_parallel();
|
||||
use_seq = 0 != omp_in_parallel();
|
||||
#endif
|
||||
if (use_seq) {
|
||||
// execute tasks sequentially
|
||||
|
@ -677,7 +677,7 @@ public:
|
|||
#ifdef _NO_OMP_
|
||||
use_seq = true;
|
||||
#else
|
||||
use_seq = omp_in_parallel();
|
||||
use_seq = 0 != omp_in_parallel();
|
||||
#endif
|
||||
if (use_seq) {
|
||||
// execute tasks sequentially
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue