mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 11:25:51 +00:00
fixes in the explanations of the tangent lemma
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
f9df9f48bd
commit
1507f54fe3
3 changed files with 49 additions and 19 deletions
|
@ -24,9 +24,10 @@ Revision History:
|
|||
#include <unordered_map>
|
||||
#include <unordered_set>
|
||||
template <typename C>
|
||||
void print_vector(const C & t, std::ostream & out) {
|
||||
std::ostream& print_vector(const C & t, std::ostream & out) {
|
||||
for (const auto & p : t)
|
||||
out << p << " ";
|
||||
return out;
|
||||
}
|
||||
|
||||
template <typename C, typename D>
|
||||
|
@ -35,10 +36,11 @@ bool contains(const C & collection, const D & key) {
|
|||
}
|
||||
|
||||
template <typename C>
|
||||
void print_vector(const C * t, unsigned size, std::ostream & out) {
|
||||
std::ostream& print_vector(const C * t, unsigned size, std::ostream & out) {
|
||||
for (unsigned i = 0; i < size; i++ )
|
||||
out << t[i] << " ";
|
||||
out << std::endl;
|
||||
return out;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue