mirror of
https://github.com/Z3Prover/z3
synced 2025-08-03 18:00:23 +00:00
further tuning pb
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
478b3160ac
commit
54e3b5ee0d
6 changed files with 74 additions and 35 deletions
|
@ -322,7 +322,7 @@ namespace simplex {
|
|||
*/
|
||||
template<typename Ext>
|
||||
void sparse_matrix<Ext>::add(row row1, numeral const& n, row row2) {
|
||||
// m_stats.m_add_rows++;
|
||||
m_stats.m_add_rows++;
|
||||
_row & r1 = m_rows[row1.id()];
|
||||
_row & r2 = m_rows[row2.id()];
|
||||
|
||||
|
@ -547,6 +547,15 @@ namespace simplex {
|
|||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
\brief statistics
|
||||
*/
|
||||
template<typename Ext>
|
||||
void sparse_matrix<Ext>::collect_statistics(::statistics & st) const {
|
||||
st.update("simplex add rows", m_stats.m_add_rows);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
\brief display method
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue