mirror of
https://github.com/Z3Prover/z3
synced 2025-08-28 05:58:55 +00:00
Partial cleanup of util/lp/*
This commit is contained in:
parent
00651f8f21
commit
d61b722b68
109 changed files with 3503 additions and 2023 deletions
|
@ -1,14 +1,29 @@
|
|||
/*
|
||||
Copyright (c) 2017 Microsoft Corporation
|
||||
Author: Lev Nachmanson
|
||||
*/
|
||||
/*++
|
||||
Copyright (c) 2017 Microsoft Corporation
|
||||
|
||||
Module Name:
|
||||
|
||||
<name>
|
||||
|
||||
Abstract:
|
||||
|
||||
<abstract>
|
||||
|
||||
Author:
|
||||
|
||||
Lev Nachmanson (levnach)
|
||||
|
||||
Revision History:
|
||||
|
||||
|
||||
--*/
|
||||
|
||||
#pragma once
|
||||
// this class implements an unordered_set with some stack functionality
|
||||
#include <unordered_set>
|
||||
#include <set>
|
||||
#include <stack>
|
||||
namespace lean {
|
||||
namespace lp {
|
||||
|
||||
template <typename A,
|
||||
typename Hash = std::hash<A>,
|
||||
|
@ -81,7 +96,7 @@ public:
|
|||
for (auto & t : d.m_erased) {
|
||||
m_set.insert(t);
|
||||
}
|
||||
lean_assert(d.m_deb_copy == m_set);
|
||||
SASSERT(d.m_deb_copy == m_set);
|
||||
m_stack.pop();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue